I want to insert user IDs into a table in ascending order. So I want to make something like this:
insert last insert+1
Can anyone help me?
I want to insert user IDs into a table in ascending order. So I want to make something like this:
insert last insert+1
Can anyone help me?
In phpmyadmin, there is an option the 'check' for a field being auto_incremented
. You don't have to insert the ID, as it automatically does it on insertion of other data.
Please note that the ID column NEEDS to be a primary key!!!