php3-list | 199807
Date: 07/31/98
- Next message: Rasmus Lerdorf: "Re: [PHP3] Disappearing bugs and multidimensional arrays"
- Previous message: Colin Viebrock: "Re: [PHP3] Looping oracle select."
- In reply to: Brenno J.S.A.A.F. de Winter: "[PHP3] mysql_insert_id"
- Next in thread: Brenno J.S.A.A.F. de Winter: "Re: [PHP3] mysql_insert_id"
- Reply: Brenno J.S.A.A.F. de Winter: "Re: [PHP3] mysql_insert_id"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Rasmus Lerdorf: "Re: [PHP3] Disappearing bugs and multidimensional arrays"
- Previous message: Colin Viebrock: "Re: [PHP3] Looping oracle select."
- In reply to: Brenno J.S.A.A.F. de Winter: "[PHP3] mysql_insert_id"
- Next in thread: Brenno J.S.A.A.F. de Winter: "Re: [PHP3] mysql_insert_id"
- Reply: Brenno J.S.A.A.F. de Winter: "Re: [PHP3] mysql_insert_id"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

