I am using a php script where I am adding categories, and each category has a number (auto incrementing). I added 40 categories, and duplicated the one of them, and deleted the category instead of editing it and changing the name. My question now is how can I fix it so that the category list is in order ( 40, 41, 42) instead of category 40, 42..
I believe it has to do with this:
Code:
ALTER TABLE theTableInQuestion AUTO_INCREMENT=1234
I know to change 'theTableInQuestion' to my table, but how to fix it for my case is what I need. I forget what will fix this.
Thank you guys!
Brian
__________________
Made2Own
|