Possible Duplicate:
PHP: how to get last inserted ID of a table?
I use mysql_query()
in PHP to insert a new record in my Database.
It will auto generate a row, with a user Id, can I use the result to get that Id?
mysql_insert_id()
Have you considered upgrading to PDO?
精彩评论