This MySQL query:
Code: Select all
SELECT * FROM tablename WHERE username='$UserName' AND password = '$PassWord'I know PHP strings are case sensitive, but:
Is there a way to alter the query above to only return a row if the passwords match case sensitively?
In this case, passwords are not supposed to be encrypted. Don't ask why...