Re: Beginner query about mysql...

From: Date: Mon, 18 Feb 2002 00:04:44 +0000
Subject: Re: Beginner query about mysql...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-17008@lists.php.net to get a copy of this message
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 > >

« previous php.db (#17008) next »