![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #3 |
|
Regular Coder ![]() Join Date: Jan 2005
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
I was testing on my website how it makes users. When someone signs up. Their info goes into a table. I no longer need to test it, so I deleted all the users that I made. But, now when I make a user, in the user id column that is auto increment, the first user is like #42 (where I left off).
|
|
|
|
|
|
PM User | #8 |
|
New Coder ![]() Join Date: Jan 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
The way to do this (the easy way) is with phpMyAdmin.
When looking at the table structure, drop the auto-incrementing field, then recreate it. All entries will be renumbered starting from 1. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|