in reply to MySQL "Counter"?
Can you use an AUTO_INCREMENT field to assign IDs? If so, all you need to do to retrieve the value of the ID that you just assigned (by inserting into a table) is
Check the MySQL docs for details.SELECT LAST_INSERT_ID();
|
|---|