Login
Username:
Password:
Submit
login($_POST['username'], $_POST['password'])) { $_SESSION['user'] = $_POST['username']; header('Location: admin.php'); } else echo "Username or Password Incorrect."; } ?>