28.05.2012, 18:29
Add '' around the %d's and %s's.
(cant remember what they're called :P)
Example:
format(Query, sizeof(Query), "UPDATE `users` SET money = '%d', score = '%d', noteOne = '%s' WHERE username = '%s'", bla, bla ...);
(cant remember what they're called :P)
Example:
format(Query, sizeof(Query), "UPDATE `users` SET money = '%d', score = '%d', noteOne = '%s' WHERE username = '%s'", bla, bla ...);

