PDA

View Full Version : Help! MySQL Auto-Increment


Incubator
13/10/2011, 12:42 AM
How do I find the value the auto increment chose without using SELECT queries, because I don't have a unique row (a different for each field besides the ID which is used by the auto-increment) in this table that I can specify the ID with.

Incubator
13/10/2011, 12:56 AM
Never mind, found the solution:
mysql_insert_id()