MySQL dont want to select player name and password
#1

<removed>
Reply
#2

Why did you add "1" to the arguments? Just remove it as it takes an integer instead of the name as first argument.

TIP: It's recommended to update to R39-3.
Reply
#3

What is this 1? Also update your mysql plugin.

Code:
new query[200];
mysql_escape_string(inputtext, password, Connection);

format(query,sizeof(query), "SELECT * FROM `account` WHERE `name` = '%s' AND `pass` = '%s'", name(playerid), inputtext);
mysql_function_query(Connection,query,true,"CheckPass","i",playerid);
Reply
#4

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)