The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Looking for some php help..
Okay, I just recently started my own project for my rap site.. its an Artist database, and i have all the info showing via functions.. Now, what im having problems with is, when i add an artist, its fine. but when i delete that artist, and add another, the userid's get bigger.. example:
uid=1 - delete that and add another: uid=2 - thats what the second userid starts add... if i had 500 userids, then the userid would start at 501.. Its making me mad, and i aint sure how to fix this |
#2
|
|||
|
|||
If you are auto-incrementing the ID's through keys then it will raise with each addition, when you delete a row, then MySQL picks up where you last left off, which would be the ID after the one you deleted or the next one in line.
|
#3
|
|||
|
|||
This is by design, BTW, to stop freaky things from happening. It's an INT(10) so you won't have to worry about anything unless the column eventually gets a value of 10 billion.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|