Hi,
I am a beginner in mysql&php and i have a little question:
I create a table with a field "index" created auto_increment. In fact, whenever I add a row index is incremented automatically. Here is the problem:
For example I have 10 rows.
If I delete the 10th and then I add another row, "index" of the last added row is 11 and not 10 as I wish.
Is there an automatic way to reorder the auto_increment field or have I to reorder it by myself?
Thank's for all and Happy Easter to everybody in the forum
Davide
I am a beginner in mysql&php and i have a little question:
I create a table with a field "index" created auto_increment. In fact, whenever I add a row index is incremented automatically. Here is the problem:
For example I have 10 rows.
If I delete the 10th and then I add another row, "index" of the last added row is 11 and not 10 as I wish.
Is there an automatic way to reorder the auto_increment field or have I to reorder it by myself?
Thank's for all and Happy Easter to everybody in the forum
Davide