password){ // Log user in $_SESSION['user'] = $user->username; header("location: index.php"); } } } // Show page showHeader("Log in"); ?>
Wrong username / password
"; } ?> Username:
Password: