MYSQL INSERT INTO
#1

why this code doesn't works.. i can't compile..
Код:
format(query, sizeof(query), "INSERT INTO `users` (name, password, cash, admin, tester, kills, deaths, registered, sex, skin, age, banned, warns, origin, muted, mutetime, carlic, lictests, FStyle, jailed, jailtime, resttime, note1, note1s, note2, note2s, note3, note3s, note4, note4s, note5, note5s) VALUES (\'%s\', \'%s\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%s\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%d\', \'%s\', \'%d\', \'%s\', \'%d\', \'%s\', \'%d\', \'%s\', \'%d\', \'%s\')",
it's half of the code, the error is:
rp.pwn(9426) : error 075: input line too long (after substitutions)
rp.pwn(9427) : error 027: invalid character constant
rp.pwn(9427) : error 017: undefined symbol "INSERT"
rp.pwn(9427) : error 017: undefined symbol "INTO"
Reply


Messages In This Thread
MYSQL INSERT INTO - by PaulDinam - 18.01.2013, 10:39
Re: MYSQL INSERT INTO - by RajatPawar - 18.01.2013, 11:08
Re: MYSQL INSERT INTO - by Kwarde - 18.01.2013, 11:17
Re: MYSQL INSERT INTO - by RajatPawar - 18.01.2013, 11:22
Re: MYSQL INSERT INTO - by Kwarde - 18.01.2013, 11:32
Re: MYSQL INSERT INTO - by Djole1337 - 18.01.2013, 11:43

Forum Jump:


Users browsing this thread: 7 Guest(s)