SA-MP Forums Archive
Mysql - 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: Mysql (/showthread.php?tid=561453)



Mysql - n00el - 03.02.2015

Hello i have a mysql code

Код:
UPDATE `ceg` SET `cegName` = '%s', `cegRangok` = '%d', `cegPrice` = '%d', `cegOwner` = '%d', `cegPosX` = '%.4f', `cegPosY` = '%.4f', `cegPosZ` = '%.4f', `cegIntPosX` = '%.4f', `cegIntPosY` = '%.4f', `cegIntPosZ` = '%.4f', `cegInt` = '%d', `cegMembers` = '%d', `cegMaxMembers` = '%d' WHERE `cegID` = '%d'
And an error

Код:
(error #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
And i don't know what the f*** is wrong... Any idea?