Why doesnt this code work. I keep getting false even when i type in the correct username and password
$user_name = mysql_query("SELECT * FROM users WHERE username =
'".$Entered_UserName ."'
AND password = '".md5($Entered_PassWord) . "'");
$user_name_password = mysql_fetch_assoc($user_name);
if($user_name_password === false)
{
echo 'false';
}
else
echo 'true';
}