<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {

    $name = htmlspecialchars($_POST['name']);
    $email = htmlspecialchars($_POST['email']);
    $phone = htmlspecialchars($_POST['phone']);
    $business = htmlspecialchars($_POST['business']);
    $city = htmlspecialchars($_POST['city']);

    // You can save data in database or email here

    header("Location: thankyou.html");
    exit();
}
?>
