10.02.2013, 19:58
Hello.
My system is registering only one user in the MySQL,
I don't know why it's not registering one more playter that trying to register my server.
What is the problem?
This is the code:
It's registering one player in MySQL, but If I try with new user name it's not.
If I delete the user in MySQL and then trying again, it's registering in the MySQL.
My system is registering only one user in the MySQL,
I don't know why it's not registering one more playter that trying to register my server.
What is the problem?
This is the code:
Quote:
new querysd[200], escstring[100]; mysql_real_escape_string(inputtext, escstring); format(querysd, sizeof(querysd), "INSERT INTO `users` (User, Password, Level) VALUES('%s', SHA1('%s'), 1)", PName(playerid), escstring); mysql_query(querysd); |
If I delete the user in MySQL and then trying again, it's registering in the MySQL.