My question is, what's the easiest (shortest) way to determine the highest number already in the database + 1 so I can number the next picture uploaded?
I know I could hack this out in a Perlish way but I'm hoping to do things, well, a little more natural without looping through the entire structure.
In reply to How to find the highest number in a mysql table by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |