01.10.2013, 18:42
Код:
>> mysql_query( Connection handle: 1 ) CMySQLHandler::Query(INSERT INTO 'Houses' (ID, Level, Price, Doors, Owner) VALUES(1, 2, 3, 4, 'Test')) - 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 ''Houses (ID, Level, Price, Doors, Owner) VALUES(1, 2, 3, 4, 'Test')' at line 1)
Код:
format(query, sizeof(query), "INSERT INTO 'Houses' (ID, Level, Price, Doors, Owner) VALUES(1, 2, 3, 4, 'Test')");