prepare( "INSERT INTO job_postings (employer_id, job_title, job_description, location, salary, requirements) VALUES (?, ?, ?, ?, ?, ?)" ); $stmt->bind_param( "isssss", // Define parameter types (string, string, string, string, string, string) $employer_id, $job_title, $job_description, $location, $salary, $requirements ); $stmt->execute(); echo ""; exit; } catch (Exception $e) { // Return error response if an issue occurs echo json_encode(['status' => 'error', 'message' => $e->getMessage()]); exit; } } ?> Post a New Job

Post a New Job Opportunity