MYSQL Sytnax error 1064
#3

Yes everything else that needs to save is saving, like the rest of my stuff:
Working save:
Код:
mysql_format(dbHandle,Query, sizeof(Query), "UPDATE `PlayerData` SET `pCash` = '%d', `pBank` = '%d', `pAdminLevel` = '%d', `pModerator` = '%d', `pVipLevel` = '%d' WHERE `Username` = '%s'",
		pInfo[playerid][pCash],
		pInfo[playerid][pBank],
		pInfo[playerid][pAdminLevel],
		pInfo[playerid][pModerator],
		pInfo[playerid][pVipLevel],
		pName(playerid));
		mysql_query(dbHandle,Query,false);
It is just the line were the skins and stuff need to save... everything else saves fine, so I know the names etc are the same, just checked again to make sure

Ok I found the error. Clearly I was blind . There was no "=" by the pFacRank
Reply


Messages In This Thread
MYSQL Sytnax error 1064 - by Blademaster680 - 04.09.2014, 16:00
Re: MYSQL Sytnax error 1064 - by Stanford - 04.09.2014, 16:02
Re: MYSQL Sytnax error 1064 - by Blademaster680 - 04.09.2014, 16:05

Forum Jump:


Users browsing this thread: 2 Guest(s)