There are other ways to keep track of the number of registered users. The only way that the ID field is incremented is if it is the $db_key field.
I would eliminate the ID field from users.cfg.
Regarding the other problem -- I really need to see the URL that is generated when the line is active and when it isn't. That's the only way I can tell what the problem is.
What I'm doing right now is setting up a simplified version of your databases on my home computer -- one database at a time. No fancy page formatting or anything. Just the basic database structure. I'll let you worry about making it pretty.
JPD
http://www.jpdeni.com/dbman/
I would eliminate the ID field from users.cfg.
Regarding the other problem -- I really need to see the URL that is generated when the line is active and when it isn't. That's the only way I can tell what the problem is.
What I'm doing right now is setting up a simplified version of your databases on my home computer -- one database at a time. No fancy page formatting or anything. Just the basic database structure. I'll let you worry about making it pretty.
JPD
http://www.jpdeni.com/dbman/