I currently have a users database for all the users that register and whatnot. Each user has a unique id and it auto increments. However, im just wondering, how would i have it so if i delete a random user, the userid minuses 1. By doing this, it wouldn't randomly have a break in the userid. For example:
i have 5 users with userids:
1, 2, 3, 4, 5.
i for some reason delete user 3, so now its:
1, 2, 4, 5.
if someone else were to register, it would now display:
1, 2, 4, 5, 6.
i want it to be just normal like this:
1, 2, 3, 4, 5
even if someone else were to register although there was a gap in between the userids cuz of a deletion. Hope someone can help.