[PHP-DB] Beginner query about mysql...
I have a table with a ID field 'auto_increment', when i insert a record in the table, how can i know the value of the ID inserted by the mySQL? Thank's, Michele. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Beginner query about mysql...
The manual is at http://www.php.net/manual/en The function you need is mysql_insert_id. On Mon, 18 Feb 2002, michele wrote: I have a table with a ID field 'auto_increment', when i insert a record in the table, how can i know the value of the ID inserted by the mySQL? Thank's, Michele. -- 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