#1

Ok, i really dont know whats wrong with this mysql query. Any Help?

pawn Код:
format(query, sizeof(mysql), "UPDATE `accounts` SET `online` = '1' WHERE `name` = '%s'", pname);
                mysql_query(mysql);
Reply
#2

Just remove the '(s) around the 1..
Like so:
pawn Код:
format(query, sizeof(mysql), "UPDATE `accounts` SET `online` = 1 WHERE `name` = '%s'", pname);
mysql_query(mysql);
Reply
#3

OWWWWWWWWWWWWWWWWWWW!

Lol, im a blond i swear.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)