| ```php | |
| if ($_SERVER['REQUEST_METHOD'] === 'POST') { | |
| // Process the form data | |
| $customerName = htmlspecialchars($_POST['customerName']); | |
| $customerEmail = htmlspecialchars($_POST['customerEmail']); | |
| $customerPhone = htmlspecialchars($_POST['customerPhone']); | |
| $customerCompany = htmlspecialchars($_POST['customerCompany'] ?? ''); | |
| $equipmentType = htmlspecialchars($_POST['equipmentType']); | |
| $brand = htmlspecialchars($_POST['brand']); | |
| $model = htmlspecialchars($_POST['model'] ?? ''); | |
| $issueDescription = htmlspecialchars($_POST['issueDescription']); | |
| $contactMethod = htmlspecialchars($_POST['contactMethod']); | |
| // Here you would typically: | |
| // 1. Validate the input | |
| // 2. Store in database | |
| // 3. Send email notifications | |
| // 4. Redirect to thank you page | |
| // For now, just redirect to thank you page | |
| header('Location: thank_you.php'); | |
| exit; | |
| } else { | |
| header('Location: customer_service.php'); | |
| exit; | |
| } | |
| ``` |