[MySQL] Input line too long
#5

pawn Код:
format(query, sizeof(query), "INSERT INTO playerdata (user, password, score, money, level, vip, \
    kma, rank, kills, deaths, muted, jailed, frozen, mutedtimes, jailedtimes, frozentimes, banned, bannedby, \
    logins, cookies, warns, warn1reason, warn2reason, warn3reason, recordkillsteak, registerdate, laston, posx, \
    posy, posz, posa, IP"
);
format(query, sizeof(query), "VALUES('%s', SHA1('%s'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '%s', 0, 0, 0, \ //Error line
    'N/A', 'N/A', 'N/A', '%s', '%s', 0, 0, 0, 0, '%s')"
, pname, passwordstring, Bannedby, ReggDate, LastOn, IP);
adn in mysql_query use query, mysql_query(query);
Reply


Messages In This Thread
[MySQL] Input line too long - by Markx - 15.09.2011, 11:34
Re: [MySQL] Input line too long - by Mikkel_Pedersen - 15.09.2011, 11:46
Re: [MySQL] Input line too long - by Vince - 15.09.2011, 11:50
Re: [MySQL] Input line too long - by Markx - 15.09.2011, 11:50
Re: [MySQL] Input line too long - by System64 - 15.09.2011, 11:53
Re: [MySQL] Input line too long - by Markx - 15.09.2011, 11:59
Re: [MySQL] Input line too long - by [Diablo] - 15.09.2011, 12:02
Re: [MySQL] Input line too long - by MP2 - 15.09.2011, 12:37

Forum Jump:


Users browsing this thread: 2 Guest(s)