RE: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Craig Vincent
> I have a MySQL database (called "sessions") with a auto-increment > INT field called "sessionID". I try to check if there is already > a record in this database with a given sessionID, which is called > $sessionID in PHP. I use this query, which must be wrong (but I > cannot find out why !!!) :

Re: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jason Wong
On Sunday 18 August 2002 17:59, Jean-Marc Godart wrote: > Thanks for your suggestion ... Yes, I tried to print $sessionID (using > echo()) and I get the right value (the one I am looking for) ... Though the > query does not work. Any other idea ??? Thanks again ! Please post your code so we can h

Re: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jean-Marc Godart
> To: <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 11:53 AM Subject: Re: [PHP] Help needed about queries with MySQL, thanks. > On Sunday 18 August 2002 17:45, Jean-Marc Godart wrote: > > > I have a MySQL database (called "sessions") with a auto-increment INT fie

Re: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jason Wong
On Sunday 18 August 2002 17:45, Jean-Marc Godart wrote: > I have a MySQL database (called "sessions") with a auto-increment INT field > called "sessionID". I try to check if there is already a record in this > database with a given sessionID, which is called $sessionID in PHP. I use > this query,