Little help with MySQL
#4

pawn Код:
format(Query, sizeof(Query), "INSERT INTO accounts (user, password, admin, money, IP) VALUES('%s', SHA1('%s'), 0, 0, '%s')", pname, pass, IP);
You forgot the to close the parentheses for VALUES, these characters (comma, apostrophe, parenthesis, etc.) are very important. So make sure that you double check.
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)