Finding out auto increment number

Associate
Joined
24 Apr 2007
Posts
545
Location
Rochford
Hey all. I'm using PHP and MySQL. I'm running an insert statement into a database, where the id is an auto increment number. Is there a way of finding out what this number is? I was going to use a select statement to find the latest entry into the table, but I'm not sure if this will work, as there will possibly be more than one person adding information at one time.

Any help will be greatly appreciated
 
Back
Top Bottom