See:

http://www.php.net/manual/en/function.mysql-insert-id.php

- Tim

On 06 Aug 2001 16:03:43 -0500, garman wrote:
> I'm inserting some information into a MySQL database via a PHP script.  A 
> handful of various information is put into the database via the "INSERT 
> INTO..." SQL command.  Each entry has a unique, auto increment field that acts 
> as an index number for that entry.  I can't seem to figure out a clean and 
> simple way to get that index number immediately after an insert.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to