Why isn't this login check working? if(empty($_POST['username'])) header('Location: index.html');?

Tom

New member
username is the name of my textbox on the index.html screen. When you click submit it comes to this statement in login.php no matter what. Any ideas why this isn't working?
 
Back
Top