Weird MySql issue
#4

It might be a problem with the variable (not enough size etc). Debug it:
pawn Код:
GetPlayerIp(playerid, IP[playerid], 16);
GetPlayerName(playerid, Name[playerid], 24);
mysql_format(mysql, query, sizeof(query),"SELECT `Password`, `ID` FROM `users` WHERE `Username` = '%e' LIMIT 1", Name[playerid]);
mysql_tquery(mysql, query, "OnAccountCheck", "i", playerid);
printf("Name[playerid]: \"%s\" & query: \"%s\"", Name[playerid], query);
Reply


Messages In This Thread
Weird MySql issue - by Blast3r - 30.07.2014, 07:47
Re: Weird MySql issue - by ReinasExpert - 30.07.2014, 08:56
Re: Weird MySql issue - by Blast3r - 30.07.2014, 09:02
Re: Weird MySql issue - by Konstantinos - 30.07.2014, 09:31
Re: Weird MySql issue - by Blast3r - 30.07.2014, 09:36
Re: Weird MySql issue - by Tosfera - 31.07.2014, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)