24.10.2013, 21:40
Im trying to do this query but it wont work let me show you.
The error is this one
pawn Код:
format(query, sizeof(query),"INSERT INTO bizinfo (bid, benterx, bentery, benterz, bexitx, bexity, bexitz, binterior, bvalue, bname) VALUES (NULL,'%f','%f','%f','%f','%f','%f','%d','%d','%s'",
pPOS[0],pPOS[1],pPOS[2], interiors[bint][posx],interiors[bint][posy],interiors[bint][posz],interiors[bint][hint],bprice,bbname);
mysql_query(query);
Quote:
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 '' at line 1) |