SA-MP Forums Archive
Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (/showthread.php?tid=442098)



Help - thistooshallpass93 - 05.06.2013

Any Help with the following mysql error..


PHP код:
[17:51:18] CMySQLHandler::Query(INSERT INTO playerdata (user, password, score, money, vip, level, skill1, skill2, skill3, skill4, skill5, skilllevel1, skilllevel2, skilllevel3, skilllevel4, skilllevel5, adminlevel, jailed, clan, cl) - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1)
[
17:51:31] >> mysql_query( Connection handle: 1 )
[
17:51:31] CMySQLHandler::Query(UPDATE playerdata SET score=0, money=0, level=0, skill1=0, skill2=0, skill3=0, skill4=0, skill5=0, jailed=0, adminlevel=0, WHERE user='OfficerPurpleK') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE user='OfficerPurpleK'' at line 1) 
EDIT: LOL nevermind forgot to edit my query size.