Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 896
0 Users 3 Guests Online
Forum Index » PHP + MySQL » mySQL question
Posted on Sunday 8th February 2009 at 01:37 AM
Adam981
templates/default/images/noavatar.png's Avatar
Junior Member
is there a way to reset the ID for each user, because of my usersystem i had alot of "testing users" that i deleted so on my member page the user id list is jumped around. rather then 1234567 for my 7 users i have 1, 8, 11, 16, 17, 18, 19.
Posted on Monday 9th February 2009 at 12:00 AM
Nathan
templates/default/images/noavatar.png's Avatar
Active Member
delete the id and recreate it
Posted on Monday 9th February 2009 at 02:54 AM
Adam981
templates/default/images/noavatar.png's Avatar
Junior Member
i dont want to delete and redo 7 members
Posted on Monday 9th February 2009 at 08:23 PM
setsukemizuhara
templates/default/images/noavatar.png's Avatar
Newbie
All you can do to reset the ID column if its auto increment.
Posted on Monday 9th February 2009 at 08:53 PM
Nathan
templates/default/images/noavatar.png's Avatar
Active Member
yeah thats the only way is to delete the id colum and recreate it
Posted on Tuesday 10th February 200 at 02:16 AM
Adam981
templates/default/images/noavatar.png's Avatar
Junior Member
Yea shadow helped me out with this, thanks