Re: return of a field value (auto-increment) after insert (mysql)
- From: Michael Fesser <netizen@xxxxxx>
- Date: Tue, 28 Nov 2006 18:22:44 +0100
..oO(rjames.clarke@xxxxxxxxx)
I am inserting a record in to a mysql database. I'd like to know the
record number of that record.
I use a index field which is auto-incremented.
Is there any way to get a field value returned after insertion?
http://www.php.net/mysql_insert_id
Micha
.
- References:
- return of a field value (auto-increment) after insert (mysql)
- From: rjames . clarke
- return of a field value (auto-increment) after insert (mysql)
- Prev by Date: Re: Weird $_POST behavior when trying to unset elements
- Next by Date: Re: the script wont work and i cant find anything wrong please help
- Previous by thread: return of a field value (auto-increment) after insert (mysql)
- Next by thread: Learn PHP 5.0 with interactive tutorials at www.tutorialsdirect.com
- Index(es):