syntax error?
#1

I've honestly no idea why I'm getting syntax errors on this code (the query).

pawn Код:
new buff[129];
                WP_Hash(buff, sizeof(buff), inputtext);
                mysql_real_escape_string(Name, EscapedName);
                mysql_real_escape_string(buff, EscapedPassword);
                #pragma unused Name
                format(Query, sizeof(Query), "INSERT INTO `accounts` (username, password) VALUES('%s', '%s')", EscapedName, EscapedPassword);
                mysql_query(Query);
Reply


Messages In This Thread
syntax error? - by Antonio [G-RP] - 25.02.2011, 01:50
Re: syntax error? - by Calgon - 25.02.2011, 07:54
Re: syntax error? - by Antonio [G-RP] - 25.02.2011, 22:06

Forum Jump:


Users browsing this thread: 1 Guest(s)