$conn->close(); header('Location: main.php'); exit; } } } } } elseif ($mode == 'Update') { $referenceID = $_GET['referenceID']; if (empty($userID)) { echo "User ID is missing"; } elseif (empty($referenceID)) { echo "Reference ID is missing"; } else { // Retrieve Information retrieveInfo($userID, $conn); } } ?> <!DOCTYPE HTML> <html> <style> .table table-bordered td { text-align: left; } #center td { text-align: center; }
//Resume Updated now move to the main page. $_SERVER['PHP_SELF']; } exit; } } } } elseif ($mode == "Update" || $mode == "View") { // Retrieve Information $resumeID = $_GET['resumeID']; $_SESSION['resumeID'] = $resumeID; if (empty($resumeID) || empty($resumeUserID)) { echo "Resume ID or Resume User ID is missing"; } else { // Retrieve Information retrieveInfo(); } } ?> <!DOCTYPE HTML> <html> <style> .table table-bordered td { text-align: left; } #center td { text-align: center; }