PhoenixDown
Programmer
k i have a mysql db with records similiar to this:
1 test1 test1 test2
2 test2 test2 test2
3 test3 test3 test3
i made the delete code for it so i was wondering if somebody could help me with a code that will renumber records when one get deletes. so if "2 test2 test2 test2" gets deleted the code would make it:
1 test1 test1 test2
2 test3 test3 test3
thanx in advance
1 test1 test1 test2
2 test2 test2 test2
3 test3 test3 test3
i made the delete code for it so i was wondering if somebody could help me with a code that will renumber records when one get deletes. so if "2 test2 test2 test2" gets deleted the code would make it:
1 test1 test1 test2
2 test3 test3 test3
thanx in advance