Why the following query doesn't work? I'm working with md5 and it doesn't do anything.
 $query = "select email from user where email='".$email."' and password='".md5('$password')."'";
Any suggestions?
Why the following query doesn't work? I'm working with md5 and it doesn't do anything.
 $query = "select email from user where email='".$email."' and password='".md5('$password')."'";
Any suggestions?
 
    
    You need to remove the quotes in md5 encryption
md5('$password') to md5($password)
$query = "select email from user where email='".$email."' and password='".md5($password)."'";
