08.05.2014, 13:25
Hello,
There is my code who save the variable Note1:
But, I got this error:
This is the table:
When I do printf("Note1: %s",PlayerInfo[playerid][pNote1]");, He return None, what I want in my table...
Regards
There is my code who save the variable Note1:
Код:
format(string, sizeof(string), "UPDATE players SET Note1=%s WHERE id=%d", PlayerInfo[playerid][pNote1], PlayerInfo[pSQLID]);
Код:
CMySQLHandler::Query(UPDATE players SET Note1= WHERE id=) - 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 'Note2' at line 1)
When I do printf("Note1: %s",PlayerInfo[playerid][pNote1]");, He return None, what I want in my table...
Regards