Error in login page

Please help me!!!

I am facing problem with this code.
Evry time pointer goes in to else part.

<?php $username = $_POST['username']; $password = $_POST['passwoord']; /*$username = 'admin'; $password = 'admin'; */ if(($username == "admin") && ($password == "admin")) { //if($password == "admin") //{ //echo "Access Granted"; header("Location: member.php"); } else { header(' Location : member2.php'); //} }

Remove all your comment lines and test again…
[php]
/*$username = ‘admin’;
$password = ‘admin’;
/[/php]
You are using /
*/

Sponsor our Newsletter | Privacy Policy | Terms of Service