A try to create mysql_Get
#1

THe problem is that it's crash the server

Код:
stock mysql_Get(table[],id,key[])
{
	format(stringo,sizeof(stringo),"SELECT `%s` FROM `%s` WHERE `ID` = '%d'",key,table,id);
	mysql_query(stringo);
	new Result[30];
	mysql_fetch_row(Result);
	return Result;
}
Reply


Messages In This Thread
A try to create mysql_Get - by Gennum. - 05.08.2013, 14:00
Re: A try to create mysql_Get - by iJumbo - 05.08.2013, 14:08
Re: A try to create mysql_Get - by Gennum. - 05.08.2013, 14:48
Re: A try to create mysql_Get - by iJumbo - 05.08.2013, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)