Alright thanks, I wrote up this code:
Code:
$query[select1] = mysql_query("SELECT userid, username, password, salt FROM user WHERE username='".$_POST[username]."' LIMIT 1");
$fetch[select1] = mysql_fetch_array($query[select1]);
print md5(md5($_POST[password]).$fetch[select1][salt]);
And what it printed out wasnt the same password that was stored in the database...