MySQL problem
#2

pawn Код:
new qstr[200];
format(qstr,200,"SELECT * FROM `players` WHERE `username`='%s';",plname);
mysql_function_query(g_Handle, qstr, true, "OnPlayerCheckAccount", "i", playerid);
return 1;
player id is an integer so it needs the integer place holder also increase your query string size.
Reply


Messages In This Thread
MySQL problem - by CONTROLA - 01.12.2012, 08:38
Re: MySQL problem - by CoDeZ - 01.12.2012, 08:41
Re: MySQL problem - by CONTROLA - 01.12.2012, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)