mysql_insert_id()

admin

Administrator
Staff member
Hi there,

I have been wondering that when one users mysql_insert_id() to get the ID of the last insert into the database, something odd might happen.

Imagine that at the same time other user is running the same script, couldn't this generate some problem, being that the ID's are not corrently returned ?

Anyone has some experience with this ?

Cheers,

TC
 
Back
Top