use mysql_last_id()

-----Original Message-----
From: Morten Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] LAST_INSERT_ID()


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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to