Sign out'; //check if user if signed in if($_SESSION['signedIn'] == true) { //unset all variables $_SESSION['signedIn'] = NULL; $_SESSION['userName'] = NULL; $_SESSION['userNo'] = NULL; echo 'Succesfully signed out, thank you for visiting '; echo "Ink's Things."; } else { echo 'You are not signed in. Would you like to?'; } include 'footer.php'; ?>