28.02.2015, 20:15
Hello guys , I'm creating a login and registration system using MySQL database to save the information . The problem is that when using the mysql_format function, I use only 12 fields. Trying to save the 13 ° field , the compiler complains errors .
Using 12 fields:
Using 13 fields:
The error that appears when using the 13 field.
I honestly do not know what's causing it. I ask you to help me , please.
Using 12 fields:
Код:
mysql_format(conexao, query, sizeof(query), "INSERT INTO players (Nick, Senha, Dinheiro, Skin, Level, IP, NivelProcura, AdmLvL, Profissao, Vip, Casa, Empresa) VALUES ('%s', '%s', '%i', '%i', '%i', '%s', '%i', '%i', '%s', '%i', '%i', '%i')", nome, inputtext, Player[playerid][Dinheiro], Player[playerid][Skin], Player[playerid][Level], Player[playerid][Ip], Player[playerid][Procurado], Player[playerid][LevelAdm], Profissao, Player[playerid][Vip], Player[playerid][Casa], Player[playerid][Empresa]);
Код:
mysql_format(conexao, query, sizeof(query), "INSERT INTO players (Nick, Senha, Dinheiro, Skin, Level, IP, NivelProcura, AdmLvL, Profissao, Vip, Casa, Empresa, Veiculo) VALUES ('%s', '%s', '%i', '%i', '%i', '%s', '%i', '%i', '%s', '%i', '%i', '%i', '%i')", nome, inputtext, Player[playerid][Dinheiro], Player[playerid][Skin], Player[playerid][Level], Player[playerid][Ip], Player[playerid][Procurado], Player[playerid][LevelAdm], Profissao, Player[playerid][Vip], Player[playerid][Casa], Player[playerid][Empresa], Player[playerid][Veiculo]);
Код:
error 075: input line too long (after substitutions) error 017: undefined symbol "Em" warning 217: loose indentation error 017: undefined symbol "presa" error 029: invalid expression, assumed zero error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line