LAST_INSERT_ID()

From: Date: Thu, 21 Mar 2002 20:30:14 +0000
Subject: LAST_INSERT_ID()
Groups: php.db 
Request: Send a blank email to php-db+get-17816@lists.php.net to get a copy of this message
Hi, In the PHP manual under the function mysql_insert_id() function they have the following line: The value of the MySQL SQL function LAST_INSERT_ID() always contains the most recently generated AUTO_INCREMENT value, and is not reset between queries. How do I get to use the function LAST_INSERT_ID()? When I use it in my php code it is not recognised. Regards, Morten

« previous php.db (#17816) next »