prepare("INSERT INTO jobs (category, title, image, description) VALUES (?, ?, ?, ?)"); $stmt->bind_param("ssss", $category, $title, $image, $description); // Execute the statement if ($stmt->execute()) { header("Location: admin.php"); exit(); } else { echo "Error: " . $stmt->error; } } else { echo "Failed to upload image."; } } ?> Add Job

Add New Vacancy