MySQL Forums
Forum List  »  PHP

Re: Returning ID on INSERT
Posted by: Bob Field
Date: February 14, 2006 10:04AM

mysql_insert_id() and the associated SQL function LAST_INSERT_ID() return information relevant to a specific connection so concurrent inserts on multiple simultaneous connections will not cause erroneous information to be returned.

Options: ReplyQuote


Subject
Written By
Posted
February 13, 2006 11:22PM
February 14, 2006 04:28AM
Re: Returning ID on INSERT
February 14, 2006 10:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.