MYSQL String Problem
#1

I've been trying multiple ways to make it so that it will insert the players name into the account area, at the same time i have no idea if it's a hashing error?

pawn Код:
new string[310], HashedPW[145];
    WP_Hash(HashedPW, sizeof (HashedPW), inputtext);
    format(string, sizeof(string), "INSERT INTO `accounts` (Name, Password) VALUES ('%s', '%s')", GetPlayerName(playerid), HashedPW);
    mysql_query(string);

Error:
Код:
warning 202: number of arguments does not match definition
Reply


Messages In This Thread
MYSQL String Problem - by Cole_William - 22.07.2014, 19:06
Re: MYSQL String Problem - by Sawalha - 22.07.2014, 19:11
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:13
Re: MYSQL String Problem - by nmader - 22.07.2014, 19:15
Re: MYSQL String Problem - by arlindi - 22.07.2014, 19:15
Re: MYSQL String Problem - by Sawalha - 22.07.2014, 19:17
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:18
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:21
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:35
Re: MYSQL String Problem - by driftpower - 22.07.2014, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)