<?php
include 'includes/db.php';

$sql = "INSERT INTO job_applications (first_name, middle_name, last_name, mobile, email, address, city, district, state, pincode, resume_path) 
        VALUES ('Test', 'Pin', 'Code', '9876543000', 'pincode@test.com', 'Test Address Line', 'Patna Sadar', 'Patna', 'Bihar', '800001', 'uploads/resumes/dummy.pdf')";

if ($conn->query($sql) === TRUE) {
    echo "<h1>Entry Inserted</h1><p>Pincode 800001 added.</p><a href='admin/job_applications.php'>Go to Admin</a>";
} else {
    echo "Error: " . $sql . "<br>" . $conn->error;
}
?>
