Re: return of a field value (auto-increment) after insert (mysql)



..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
.