help mysql
#1

C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(5487) : error 017: undefined symbol "mysql_store_result"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(548 : error 017: undefined symbol "mysql_num_rows"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(5496) : error 017: undefined symbol "mysql_free_result"

Code:
	new qstr[100];
	format(qstr,100,"SELECT * FROM `players` WHERE `username`='%s';",plname);
	mysql_query (qstr);
	mysql_store_result();
	if(mysql_num_rows() != 0)
	{
		gPlayerAccount[playerid] = 1;
	}
	else
	{
		gPlayerAccount[playerid] = 0;
	}
	mysql_free_result();
	return 1;
}
use mysql r39-3
Reply


Messages In This Thread
help mysql - by Jimmi - 25.07.2015, 20:05
Re: help mysql - by Jimmi - 25.07.2015, 21:06
Re: help mysql - by TheSkyBlueTeam - 25.07.2015, 21:11
AW: help mysql - by Mencent - 25.07.2015, 21:26
Re: AW: help mysql - by J0sh... - 25.07.2015, 21:27

Forum Jump:


Users browsing this thread: 3 Guest(s)