mysql
#1

So, I have create registration system based on mysql, the script works fine, but there's a problem in one query:

1. Someone creates account with name TEST, everything is okay.
2. Then, someone connects with name TesT, and he will dont need to register, he will need to login and all data will be set on this account from account TEST.

Query to check is player registered:

pawn Код:
mysql_format(_, szQuery, "SELECT `Name` FROM `players` WHERE `Name` = '%e'", GetPlayerNameEx(playerid));
Thank you in advance.
Reply


Messages In This Thread
mysql - by BaubaS - 14.05.2012, 19:29
Re: mysql - by Mandrakke - 14.05.2012, 19:33
Re: mysql - by BaubaS - 14.05.2012, 19:38
Re: mysql - by BaubaS - 15.05.2012, 07:15
Re: mysql - by Vince - 15.05.2012, 07:34
Re: mysql - by BaubaS - 15.05.2012, 07:57
Re: mysql - by BaubaS - 18.05.2012, 20:37
Re: mysql - by BaubaS - 19.05.2012, 09:26
Re: mysql - by BaubaS - 19.05.2012, 10:28

Forum Jump:


Users browsing this thread: 1 Guest(s)