You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 43 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - User Id Problem [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
erhanharputlu
Corporal
Corporal


Joined: Mar 20, 2004
Posts: 62


PostPosted: Thu Jun 15, 2006 2:04 pm Reply with quoteBack to top

Think that i have 3000 users... and think 100 new users registered.. if i remove 200 people from database.. there will remain 2900 users. but when new users registers their id's are automaticly given like 3101 3102 3103 etc...

his/her id will be over 3100 but there is only 2900 users on portal.. so it seems weird.. is it possible to fix this ? i mean if there is 2900 users on portal new registered user's id must be 2901.. not 3100...
is it possible to fix this?
Find all posts by erhanharputluView user's profileSend private message
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 566


PostPosted: Fri Jun 16, 2006 2:51 am Reply with quoteBack to top

It is not really possible to fix that, nor is there really any need to fix it.

What you are seeing is the auto-increment part of your MySQL database. MySQL will record the last unique ID used, and will give the next user the next higher number user ID when they register. The user ID is just a unique identifyer that can be easily programmed into various SQL queries for display and more in various ways.

The COUNT will be how many that are currently in the database. You will ALWAYS have a higher user ID number than the current COUNT of users.

Nothing weird about it...... just a database doing what it was programmed to do.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.180 Seconds - 225 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::