auto_increment - finding value assigned*solved*
Posted 06 July 2006 - 09:24 AM
After performing the insert, is there any way to find out what number was actually put into the id field?
I hope that makes sense.
Thanks in advance.
Posted 06 July 2006 - 09:39 AM
If you have any trouble with it working, then I am sure others will be able to help - just beware that it will return the last insert id, so if you are running two inserts (info into two tables) it will return the id for the second table, NOT the first.
Posted 06 July 2006 - 09:44 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users