Re-Numbering of a list from the database:
I have printed out on screen the contents of a mySQl database thus:
1. item1
2. item2
3. item3
4. item4
I then delete item3 so the list now looks:
1. item1
2. item2
4. item4
Is there any way to reset the numbers so they are in sequence thus:
1. item1
2. item2
3. item4
?
Thanks!
I have printed out on screen the contents of a mySQl database thus:
1. item1
2. item2
3. item3
4. item4
I then delete item3 so the list now looks:
1. item1
2. item2
4. item4
Is there any way to reset the numbers so they are in sequence thus:
1. item1
2. item2
3. item4
?
Thanks!