05.08.2018, 23:13
This its what my server log say.. wtf, i didnt touch databases, how can i find the error? where is 18, line 1? wtf?!!
[01:25:25 08/06/18] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1
here what is the fail?
Quote:
** [MySQL]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1 ** [MySQL]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1 ** [MySQL]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1 ** [MySQL]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1 ** [MySQL]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1 |
PHP код:
(Query: "UPDATE `plants` SET `plantOwner` = 'Kenny_Montana', `plantType` = '1', `plantDrugs` = '17', `plantX` = '2257.5900', `plantY` = '-1211.7399', `plantZ` = '1049.0200', `plantA` = '226.6150', `plantInterior` = '10', `plantWorld` = '5295' WHERE `plantID` = '18")
[01:26:31 08/06/18] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''18' at line 1 (Query: "UPDATE `plants` SET `plantOwner` = 'Kenny_Montana', `plantType` = '1', `plantDrugs` = '18', `plantX` = '2257.5900', `plantY` = '-1211.7399', `plantZ` = '1049.0200', `plantA` = '226.6150', `plantInterior` = '10', `plantWorld` = '5295' WHERE `plantID` = '18")