18.06.2013, 20:13
you're using the variable 'pass' in your SQL query. So your query looks like this when it runs:
SELECT `Name` FROM Users WHERE Name = 'noob' AND Password = 'password'"
you wanna use FinalPassword for the second argument in your query format so that it looks for the hash in the database, not the string of what the player inserted.
SELECT `Name` FROM Users WHERE Name = 'noob' AND Password = 'password'"
you wanna use FinalPassword for the second argument in your query format so that it looks for the hash in the database, not the string of what the player inserted.