Need help in Mysql
#1

Код:
	new CQuery[100];
	format(CQuery, sizeof(CQuery), "SELECT * FROM `members` WHERE `Gangname` = '%s'", Gang);
	Result = mysql_tquery( gSQL, CQuery );
	new rows = cache_get_row_count(Result);
	Result = mysql_free_result();
	return rows;
Here i want to get the could of members of that gangname and need to free variable Result. Becos Result id an Global variable. Now got that mysql_free_result() undefined symbol
Reply
#2

Help me plz
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=272727
Reply
#4

Hi,

you have to use :
cache_get_value_name(0, "Gangname", string);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)