Help! MySQL Auto-Increment - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help! MySQL Auto-Increment (
/showthread.php?tid=289796)
Help! MySQL Auto-Increment -
Incubator - 13.10.2011
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.
Re: Help! MySQL Auto-Increment -
Incubator - 13.10.2011
Never mind, found the solution:
mysql_insert_id()