11.03.2013, 14:41
Hoping for some help
ERROR: 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)
PHP код:
[18:49:01] >> mysql_store_result( Connection handle: 1 )
[18:49:01] CMySQLHandler::StoreResult() - Result was stored.
[18:49:01] >> mysql_num_rows( Connection handle: 1 )
[18:49:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:49:01] >> mysql_free_result( Connection handle: 1 )
[18:49:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:49:01]
[18:49:01] ---------------------------
[18:49:01] MySQL Debugging activated (03/11/13)
[18:49:01] ---------------------------
[18:49:01]
[18:49:04] >> mysql_real_escape_string( Connection handle: 1 )
[18:49:04] CMySQLHandler::EscapeString(*******); - Escaped 7 characters to *******.
[18:49:04] >> mysql_query( Connection handle: 1 )
[18:49:04] CMySQLHandler::Query(INSERT INTO playerdata (user, password, score, admin, money, level, vip, kma, rank, kills, deaths, muted, jailed, frozen, mutedtimes, jailedtimes, frozentimes, banned, bannedby, logins, posx, posy, posz, posa, IP) VALUES('****************', SHA1('*******'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Not Banned', 0, 0, 0, 0, 0, '66.131.***.***') - 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)