Little help with MySQL
#2

Use this:
pawn Код:
format(Query, sizeof(Query), "UPDATE accounts SET admin='%d', money='%d' WHERE user='%s'", admin, money, pname);
You had an extra comma after "money=%d", also added apostrophes.
Reply


Messages In This Thread
Little help with MySQL - by xganyx - 09.09.2013, 02:54
Re: Little help with MySQL - by Eyce - 09.09.2013, 04:16
Re: Little help with MySQL - by xganyx - 10.09.2013, 00:43
Re: Little help with MySQL - by Eyce - 10.09.2013, 00:56
Re: Little help with MySQL - by xganyx - 10.09.2013, 01:24
Re: Little help with MySQL - by xganyx - 11.09.2013, 01:25
Re: Little help with MySQL - by ViruZz - 11.09.2013, 01:33
Re: Little help with MySQL - by xganyx - 11.09.2013, 03:24

Forum Jump:


Users browsing this thread: 1 Guest(s)