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();
In reply to Re: MySQL "Counter"?
by dws
in thread MySQL "Counter"?
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |