On Mon, 3 Dec 2001 17:31:30 -0500
Thomas "Thomas" <[EMAIL PROTECTED]> wrote:
> I have looked into some source code that I found, but I'm a newbie
> at this,
> and don't understand..
>
> if ( 0 == $this->link_id) {
>
> In this statment, what does the '->' repersent? this statment
> (operator?)
Hi,
I got this problem when i tried to do a sql query and print the ouput. But the script
below always failed to return the first row of the records. But i do a manual query, i
got the results i wanted.
Thanks,
Denny
$query="SELECT * from $tbl ";
$result=mysql_query($query);
Hello,
John Kolvereid wrote:
>
> Hi,
> Me again, My table has a CLOB in it. When I tried the same querry w/
> another table w/o a CLOB it succeeded. Are CLOBs an issue? Please
> advise. Thanks.
I have no idea what is the problem here, but you may want to try
Metabase which is a PHP dat
John:
Yes, CLOBs are a little more difficult to access. The best way I've used
them is to use the DBMS_LOB package in Oracle. Here's a link on
technet.oracle.com to some documentation.
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.
817/a76940/adl03pr4.htm#146661
I
Hi,
Me again, My table has a CLOB in it. When I tried the same querry w/
another table w/o a CLOB it succeeded. Are CLOBs an issue? Please
advise. Thanks.
John Kolvereid wrote:
> Hi,
> I tried the following snippet from
> http://www.php.net/manual/en/ref.oracle.php
> $query =
Hi,
Me again, My table has a CLOB in it. Could that be a problem. When
I tried the same querry on another table w/o a CLOB it succeeded. Please
advise. Thanks.
John Kolvereid wrote:
> Hi,
> I tried the following snippet from
> http://www.php.net/manual/en/ref.oracle.php
> $que
I have an existing database, created a while back, which I need to add a id
field to, there isn't one currently. Will simply adding a new auto-increment
field be okay? Will the existing rows receive id numbers and will they be
numbered properly? Or will it start with the new data and continue f
Hi,
I tried the following snippet from
http://www.php.net/manual/en/ref.oracle.php
$query = "Select * from patients where clientid = 'DEMO'";
ora_parse($curs, $query);
ora_exec($curs);
ora_fetch($curs);
The parse executed successfully, but the exec complained t
Hello,
Nathan Cavicchi wrote:
>
> I started writing a set of scripts that would send out mutiple emails to a
> list of customers. I then realized that most likely this program, and/or
> snipits had most likely already been written. If so, can some one point me
> in the right direction and save
Thanks everyone.
Appreciate it.
"Thomas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have looked into some source code that I found, but I'm a newbie at
this,
> and don't understand..
>
> if ( 0 == $this->link_id) {
>
> In this statment, what does the '
Thomas,
It a used to referance a class method or proporty
Example:
debug == True)
{
Print($msg);
}
}
}
//To call the class you would do something like this
$simple = new simple();
$
Richard
That is good information. Thank you very much for your help.
Jonathan
"Richard Crawford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Not directly, no. You can call a JavaScript function with the onClick
> command, but not a PHP function.
>
> Bu
Hello all,
I have the following code:
/* construct the query */
$the_sql = "SELECT inv.at_id FROM invoice_items inv, customer cus WHERE
inv.client_id = cus.client_id AND inv.inv_id = '2001-12-03-4'";
/* send the statement to query() for processing */
$qid = query($the_s
I have looked into some source code that I found, but I'm a newbie at this,
and don't understand..
if ( 0 == $this->link_id) {
In this statment, what does the '->' repersent? this statment (operator?)
occurs alot in this code that I have, but I can't find the definition on any
site...can anyone
Not directly, no. You can call a JavaScript function with the onClick
command, but not a PHP function.
But here's what I've done when I needed to do something like that.
Create a separate page for the function, like function.php. Then in the
anchor tag in your main page (call it index.php),
I started writing a set of scripts that would send out mutiple emails to a
list of customers. I then realized that most likely this program, and/or
snipits had most likely already been written. If so, can some one point me
in the right direction and save me 3 or 4 days?
Thanks
Nathan
Webmast
Is there an easy way (say using eregi_replace) to find a link reference
in a blob of text and add the anchor around it? Something like:
"text has a link to a website at
http://www.whatever.com/mydirectory/mypage.html ..."
and converts it to
"text has a link to a websi
> THE INSIDE EDITION
I thought it was out there?
--
Julio Nobrega
Don't eat the yellow snow.
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> EDWARD LAWRENCE STRONG PRESENTS
>
> THE INSIDE EDITION
>
>
Is it possible to call a PHP function using the "onclick" parameter?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
EDWARD LAWRENCE STRONG PRESENTS
THE INSIDE EDITION
Author: Edward L. Strong
Order your copy Now!
Amazon .com
oops, forgot again...
--
--
Dan Barton
Terrestrial Program Biologist
Asst. Data Manager
Point Reyes Bird Observatory
http://www.prbo.org
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--- Begin Message ---
Hi again,
Check out the documentation on resources ("cursors"), fetch commands, etc. for
O
Yeah, I did look at the manual page, that was how I got the error_log()
function working. What I couldn't work out though was how to get the php
errors into the log. At the moment I use the error_log() to log some of my
scripts variables to an error.txt file. I also couldn't see a way of
preventin
On Mon, Dec 03, 2001 at 10:59:45AM -0800, John Kolvereid wrote:
> Hi Thies,
> Thanks for the info. I tried re-configuring w/ --with-oracle=$ORACLE_HOME
> and --with-oci8=$ORACLE_HOME. After configuration I got the msg that
> --with-odi8 there was no such file or directory as
> /u01/app/oracl
What exactly does this have to do w/ PHP???
Please do not ruin a good thing w/ trash. Unless, of course, your ad
was generate via PHP - which I doubt - Frankly, I doubt if you have the
brains to do that.
[EMAIL PROTECTED] wrote:
> As seen on NBC, CBS, CNN, and even Oprah! The h
On Tuesday 04 December 2001 00:14, Denny Ow wrote:
> Hi,
>
> Jus wanna to ask if it is possible to use php to plot graph using data
> retrieve from mysql. If yes, how should i go about?
Check out the graphics section of http://www.phpclasses.upperdesign.com/.
It's got some neat classes for creat
Hi Dan,
I tried "$n = ora_numcols($odb);
echo "number = $n\n";
This resulted in '0' which I know is incorrect. It should be '1' = the number
in the table. Any other ideas. Please advise. Thanks.
Daniel Barton wrote:
> ooops, forgot to reply to list too.
>
> --
> --
>
The method I used for ascii graphs was based on some C program I wrote that
created an array, which was, in essence, the graph. Each array element was two
characters wide (we''l see why..) The first column of the array is all |, to make
a Y axis, and the last row if the array is all _, to make an
ooops, forgot to reply to list too.
--
--
Dan Barton
Terrestrial Program Biologist
Asst. Data Manager
Point Reyes Bird Observatory
http://www.prbo.org
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--- Begin Message ---
Hola,
Check out the php manual for an explanation of resources and arrays
Either
1. Don't addslashes before you serialize it
2. use stripslashes before you unserialize it
> -Original Message-
> From: Jim Doolittle [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 9:07 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Can't unserialize array from mysql
Hi,
I am relatively new to Oracle PHP and trying to figure out the
Oracle functions. I am able to connect and open a db. But that's the
extent of what I can do w/o further explanation. Within the PHP docs I
can view all the Oracle functions, but their explanations are sparse to
say the leas
There are a few ways to go about this:
You could:
1) Use little image blocks to dynamically build bar graphs. It's not too
hard with PHP. Make some little square (or round or whatever) gifs (with
transparent edges), and then position them on a background JPEG or gif using
DIV tags. Make an objec
I'm working on a project right now where we call PHP from within an HTML
page, send it vars using a POST method, and then use that to draw a graph.
We're drawing bar graphs now but one of my coworkers did a line graph. You
call the PHP as an tag and have PHP return a .png. We used the
SAMS Teac
yes, it is possible - read up on the .PNG image format, as it is possible to
create graphs ind images dynamically to suit the data and figures youve
extracted from the database
-Original Message-
From: Denny Ow [mailto:[EMAIL PROTECTED]]
Sent: 03 December 2001 16:14
To: [EMAIL PROTECTED]
Hi,
Jus wanna to ask if it is possible to use php to plot graph using data
retrieve from mysql. If yes, how should i go about?
Thanks,
Denny
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
Hi,
I'm trying to loop thru an unserialized array pulled from mysql. First I
serialized the array before storing it:
$sql ="UPDATE $table_name set performer_id='" . addslashes(serialize($perfor
mer_id)) . "' WHERE lineup_i
Hi Thies,
Thanks for the info. I tried re-configuring w/ --with-oracle=$ORACLE_HOME
and --with-oci8=$ORACLE_HOME. After configuration I got the msg that
--with-odi8 there was no such file or directory as
/u01/app/oracle/product/8.1.7 (which is $ORACLE_HOME). However,
now I am able to open O
As seen on NBC, CBS, CNN, and even Oprah! The health
discovery that actually reverses aging while burning fat,
without dieting or exercise! This proven discovery has even
been reported on by the New England Journal of Medicine.
Forget aging and dieting forever! And it's Guaranteed!
Click
On Monday 03 December 2001 18:42, [EMAIL PROTECTED] wrote:
> Hi,
>I am working on a Fasttemplate dbase project,so i downloaded the
> Fasttemplate and untarred(unzipped) in the /usr/local/lib/php directory
> but gives me the following error :-
>
> Warning: Failed opening 'class.FastTemplate.ph
On Mon, Dec 03, 2001 at 06:58:00AM -0800, John Kolvereid wrote:
> Hi,
> I have just downloaded and installed PHP4.0.6. I have configured it
> --with-mysql and --with-oracle. I am able to easily use Mysql but NOT
> Oracle. When I try an ora_logon or ora_login I get 'Fatal error: Call
> to u
Hi,
I have just downloaded and installed PHP4.0.6. I have configured it
--with-mysql and --with-oracle. I am able to easily use Mysql but NOT
Oracle. When I try an ora_logon or ora_login I get 'Fatal error: Call
to undefined function: ora_log?n' Moreover, I AM able to use Oracle w/
DBI fu
Hi,
I am working on a Fasttemplate dbase project,so i downloaded the
Fasttemplate and untarred(unzipped) in the /usr/local/lib/php directory
but gives me the following error :-
Warning: Failed opening 'class.FastTemplate.php3' for inclusion
(include_path='.:/usr/local/lib/php') in
/var/www/h
I have tested it in the source installation MySQL server with PHP and found
that
the image can only be stored and retrival from mysql using PHP when the
image's size
is smaller that 1K. Although, I increase the size of mysql's
max_allowed_packet, net_buffer, table_cache.
"Fred" <[EMAIL PROTECTED
42 matches
Mail list logo