Re: [PHP] record ID problem

2004-12-03 Thread Richard Lynch
Ahmed Abdel-Aliem wrote: > Hi, > i have a script which reads and edit and delete records from a database > table. > the proplem is i nthe ID field. > when i delete a row the sequence of numbers still the same, i need a > function which return the IDs in the form of 1 2 3 4 5 6 7 8 9 > instead of 1

Re: [PHP] record ID problem

2004-12-03 Thread John Holmes
Ahmed Abdel-Aliem wrote: i have a script which reads and edit and delete records from a database table. the proplem is i nthe ID field. when i delete a row the sequence of numbers still the same, i need a function which return the IDs in the form of 1 2 3 4 5 6 7 8 9 instead of 1 3 7 9, can anyon

[PHP] record ID problem

2004-12-03 Thread Ahmed Abdel-Aliem
Hi, i have a script which reads and edit and delete records from a database table. the proplem is i nthe ID field. when i delete a row the sequence of numbers still the same, i need a function which return the IDs in the form of 1 2 3 4 5 6 7 8 9 instead of 1 3 7 9, can anyone help me plz ? --