12.10.2013, 10:50
(
Last edited by MrMou6; 12/10/2013 at 02:16 PM.
)
Code:
UPDATE `cars` SET lock = %i WHERE owner = '%s' AND limit= %i
Code:
[13:54:31] CMySQLHandler::Query(UPDATE `cars` SET 'lock' = 2 WHERE owner = 'Cristiano_Fernandes' AND limit = 1) - 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 'lock = 2 WHERE owner = 'Cristiano_Fernandes' AND limit = 1' at line 1)
Code:
UPDATE `cars` SET x = %f WHERE owner = '%s' AND limit= %i