function retrieveInfo($userID, $conn) { retrieveSQL($conn, 1, $userID); retrieveSQL($conn, 2, $userID); retrieveSQL($conn, 3, $userID); }
function retrieveInfo($userID, $conn) { $SelectSQL = "SELECT * FROM Reference_Recommend WHERE userID= ? AND referenceID= ? "; retrieveSQL($SelectSQL, $conn, $userID); }
header('Location: main.php'); } } catch (mysqli_sql_exception $e) { echo $e->__toString(); } } } } } elseif ($mode == "Update" || $mode == "View") { $jobID = $_GET['jobPostID']; $employerID = $_GET['employerID']; if (empty($jobID) || empty($employerID)) { echo "Job ID or Employer User ID is missing"; } else { // Retrieve Information retrieveSQL($jobID, $employerID); retrieveSkill(); } } ?> <!DOCTYPE HTML> <html> <style> .table table-bordered td { text-align: left; } #center td { text-align: center;