mysql_query(sql) error
#6

Код:
forward Save_Garages();
public Save_Garages()
{
    	new var[256];
		for(new i=0; i < garageCount+1; i++)
		{
			format(var, sizeof(var), "UPDATE `garages` SET `Owner`='%s',`Owned`='%d',`Locked`='%d',`Price`='%d',`PosX`='%f',`PosY`='%f',`PosZ`='%f',`Interior`='%d',`UID`='%d' WHERE `UID`='%d'",gInfo[i][Owner],gInfo[i][Owned],gInfo[i][Locked],gInfo[i][Price],gInfo[i][PosX],gInfo[i][PosY],gInfo[i][PosZ],gInfo[i][Interior],gInfo[i][UID],gInfo[i][UID]);
			mysql_query(SQL ,var);
//			mysql_query(query[], resultid, extraid, connectionHandle);
		}
}
This looks more good,right?
Reply


Messages In This Thread
mysql_query(sql) error - by StRaphael - 29.12.2016, 07:29
Re: mysql_query(sql) error - by AjaxM - 29.12.2016, 07:35
Re: mysql_query(sql) error - by StRaphael - 29.12.2016, 07:39
Re: mysql_query(sql) error - by AjaxM - 29.12.2016, 07:40
Re: mysql_query(sql) error - by StRaphael - 29.12.2016, 07:43
Re: mysql_query(sql) error - by StRaphael - 29.12.2016, 08:28
Re: mysql_query(sql) error - by itsCody - 29.12.2016, 08:45
Re: mysql_query(sql) error - by skuller12 - 29.12.2016, 08:56

Forum Jump:


Users browsing this thread: 1 Guest(s)