File size: 993 Bytes
2b0f02f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
```php
<?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;
}
?>
```