I have a problem with a mysql database, which i use to create news for a site.
I can do that allright, but i use the id field set to auto_increment to display the news number, and if i delete all teh news, when i was at number 5, the next new I create is not 1, is 6!
for example:
news 1: asdjh
news 2: askfh
news 3: askjh
and if i delete all of them, and create a new one, I see:
news 4:asklñjdf
Is there a way to 'reset' the id auto_increment field?
I can do that allright, but i use the id field set to auto_increment to display the news number, and if i delete all teh news, when i was at number 5, the next new I create is not 1, is 6!
for example:
news 1: asdjh
news 2: askfh
news 3: askjh
and if i delete all of them, and create a new one, I see:
news 4:asklñjdf
Is there a way to 'reset' the id auto_increment field?
