// Retrieve job ID from URL
$jobId = isset($_GET['id']) ? (int)$_GET['id'] : 0;
// Fetch job details based on the job ID
$query = "SELECT * FROM into_vac WHERE id = $jobId";
$result = mysqli_query($conn, $query);
if (!$result) {
die('Error fetching job details: ' . mysqli_error($conn));
}
// Check if the job exists
if (mysqli_num_rows($result) > 0) {
// Job details found
$row = mysqli_fetch_assoc($result);
} else {
// Job not found, handle this case
die('Job not found');
}
?>
Career | INTUISYZ