18.01.2014, 07:06
Hi!
I need help with this error:
Thanks for you further help
I need help with this error:
Код:
CMySQLHandler::Query(INSERT INTO Hazak (X,Y,Z,Ar,Zarva,bX,bY,bZ,Interior) VALUES ('295.081359','-54.543411','2.777210','5000000','1','223.04','1287.26','1081.2','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 'bY,bZ,Interior) VALUES ('295.081359','-54.543411','2.777210','5000000','1','223.' at line 1)
Код:
format(file, sizeof(file), "INSERT INTO Hazak (X,Y,Z,Ar,Zarva,bX,bY,bZ,Interior) VALUES ('%f','%f','%f','%d','1','223.04','1287.26','1081.2','1')", x,y,z,ar); mysql_query(file);