RobBroekhuis
Technical User
When I insert a new record into a MySQL table using a call like
$result=mysql_query("insert into....",$db);
is there any way to get the key (auto-increment) that MySQL assigns to the new record from the $result, or do I have to execute another query to find that one out?
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)
$result=mysql_query("insert into....",$db);
is there any way to get the key (auto-increment) that MySQL assigns to the new record from the $result, or do I have to execute another query to find that one out?
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)