29.03.2013, 08:11
Nop,doesn't work
pawn Код:
format(query,sizeof(query),"INSERT INTO houses (Price, enX, enY, enZ, exX, exY, exZ, Interior) VALUES('%d', '%f', '%f', '%f', '%f', '%f', '%f', '%d')", tmp, PosX, PosY, PosZ, x, y, z, tmp2);
PHP код:
[10:36:17] CMySQLHandler::Query(INSERT INTO houses (Price, enX, enY, enZ, exX, exY, exZ, Interior) VALUES('40000', '-186.226043', '964.828674', '18.233377', '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 ''1' at line 1)