25.01.2013, 20:15
I'm getting this following error while trying to register:
line where it tries to exeute:
GetPlayerNameEx(playerid) return a 23 length string of the username with '_'
and the database has a varchar of 23 length.
I cannot understand why it returns that error, everything is correct-..
Quote:
[MySQL] Error (0): Failed to exeute query. Column count doesn't match value count at row 1. |
Quote:
format(query, sizeof(query), "INSERT INTO `accounts` (Username,Password,Money,Skin,PosX,PosY,PosZ,PosA) VALUES ('%s','%s','1000','60','5','5','5')", GetPlayerNameEx(playerid), MYSQL_Password); mysql_query(query); |
and the database has a varchar of 23 length.
I cannot understand why it returns that error, everything is correct-..