history back -> profile.php

This commit is contained in:
Joey Lai
2017-01-20 16:14:32 +01:00
parent e17a55e82d
commit 6ff70440e6
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ function checkLoggedIn() {
if (confirm("You are already logged in!\nDo you want to logout?\nPress ok to logout.") == true) {
window.location.href = "logout.php";
} else {
window.history.back();
window.location.href = "profile.php";
}
document.getElementById("demo").innerHTML = x;
}

View File

@@ -29,7 +29,7 @@
} else {
$bday = test_input($_POST["bday"]);
}
g
checkInputChoice("username", "username");
checkInputChoice("password", "longerEight");
checkInputChoice("confirmpassword", "");