04.07.2014, 12:19
Could someone please help with this syntax error?
The error is on this line:
Код:
strcat(Query,"INSERT INTO `vehicles`(`Dealer`,`ID`,`Owner`, `Model`, `Price`,`PosX`,`PosY`,`PosZ`, `PosA`, `Color1`, `Color2`)"); strcat(Query," VALUES (0, NULL, '%s', '%d', NULL, '%f', '%f', '%f', '%f', '%d', '%d')"); mysql_format(dbHandle, Query, sizeof(Query), Query, pName, ID, pX, pY, pZ, pA, Col, Col); mysql_query(dbHandle, Query, false);
Код:
mysql_format(dbHandle, Query, sizeof(Query), Query, pName, ID, pX, pY, pZ, pA, Col, Col);