Syntax Error
#1

Could someone please help with this syntax error?

Код:
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);
The error is on this line:
Код:
mysql_format(dbHandle, Query, sizeof(Query), Query, pName, ID, pX, pY, pZ, pA, Col, Col);
Reply
#2

Post ur full code, and the error which u got durring compiling!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)