Getclanslot
#1

I'm trying to get clan id from mysql table, like this

Код:
stock Getclanslot(name[])
{
	new string[128];
	format(string, sizeof(string), "SELECT slot FROM clanlist WHERE cname = '%s'", name);
	mysql_query(string);
	mysql_store_result();
	//I stop here
}
I don't know what else to do, thanks for helping
Reply
#2

Код:
mysql_fetch_int(connectionHandle)
Use this:
Код:
new slot = mysql_fetch_int(handle);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)