Posts: 215
Threads: 25
Joined: Mar 2011
Reputation:
0
You could load the quantity of accounts from the database using "SELECT COUNT(*) FROM `users`".
You can do this either when an user is created, or when gamemode is loaded and then increment the variable when an account is registered.
Or, as I believe and hope, you have an incremental primary index `id` in your table, so you could as well use mysql_insert_id function, which will return the last ID inserted, i.e. the number of rows.