Forum Moderators: open
Basically what I'd like to do is have an auto incremented index that I dump a bunch of data into, and then sort the table data, and re-index it so the index number is in order by the table data.
Example:
Insert "Big Recipe" (given id 1)
Insert "Cats are Cool" (given id 2)
Insert "Are you paying attention" (given id 3)
ALTER TABLE `posts` ORDER BY `Title` ASC
? missing statement goes here?
Then the table would be:
"Are you paying attention" (given id 1)
"Big Recipe" (given id 2)
"Cats are Cool" (given id 3)
Thanks for the help!