Error in your SQL syntax? All is correct.
#1

pawn Код:
[08:08:45] CMySQLHandler::Query(INSERT INTO `weapons` (WepModel, WepAmmo, WepOwner,WepSerial, WepX, WepY, WepZ, WepEvi, WepDate, WepVW, WepInt) VALUES (30, 250) - 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)

pawn Код:
format(query, sizeof(query), "INSERT INTO `weapons` (WepModel, WepAmmo, WepOwner, WepSerial, WepX, WepY, WepZ, WepEvi, WepDate, WepVW, WepInt) VALUES (%d,250,0,0,0,0,0,0,0,0,0)",WepID[playerid]);
            mysql_query(query);
            new id = mysql_insert_id();
Reply


Messages In This Thread
Error in your SQL syntax? All is correct. - by Dokins - 06.04.2014, 07:10
Re: Error in your SQL syntax? All is correct. - by VishvaJeet - 06.04.2014, 07:15
Re: Error in your SQL syntax? All is correct. - by Dubya - 06.04.2014, 07:17
Re: Error in your SQL syntax? All is correct. - by Dokins - 06.04.2014, 07:17

Forum Jump:


Users browsing this thread: 2 Guest(s)