Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] mysql_insert_id From: Brenno J.S.A.A.F. de Winter (brenno <email protected>)
Date: 07/31/98

Colin,

I use version 3.0.1 of PHP and version 3.21.30 of MySQL. What to do now?

Cheers,

Brenno de Winter
Ede - The Netherlands

Colin Viebrock wrote:

> Also sprach Brenno J.S.A.A.F. de Winter (at 12:47 AM 7/31/98 +0200) ...
> >While inserting a record into a MySQL-database I can find the record in
> >the database. There is an automatic ID-generated. But when I try to read
> >it I get the value 0 in return! Is something going wrong here in my code
> >or is there a problem with this function?
>
> Something similar happened to me when I upgraded mysql to 3.21.30. PHP2
> code I had that relied on mysql_insert_id() no longer worked; I always got
> a "0" back.
>
> What version of PHP/mysql are you using?
>
> .........................................................................
> Colin Viebrock Creative Director - Private World Communciations
> cmv <email protected> http://www.privateworld.com
> ICQ: 11386088
>
> Something funny goes here.

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3