[HELP] MySQL & Whirlpool error
#1

Hey guys, the mysql isnt saving the hashed password, but its being printed fine.





PHP код:
printf("asfda: %s", password);
        
WP_Hash(wpHash, 129, password);
        
        
printf("asfda: %s", wpHash);
        
        
mysql_format(mysql, query, sizeof(query), "INSERT INTO p_accounts (pNAME, pPASSWORD) VALUES('%s', '%s')",
        
szPlayerName, wpHash); 
I dont know why it is not saving it correctly. The structure of pPASSWORD is VARCHAR(139).
Reply
#2

Oh well, i fixed it. The query was too low.

If someone has the same problem here's how i fixed it:

PHP код:
query[130] -> query[520] 
Reply


Forum Jump:


Users browsing this thread: