Question
Simple form not working
Can someone let me know where I screwed up here?
http://angelscancleaning.com/booking-page.html
<?php
$emailSubject = 'Bin Washing';
$webMaster = 'service@angelsjunkremoval.com';
$user_name = $_POST['name'];
$user_address = $_POST['address'];
$user_city = $_POST['city'];
$user_email = $_POST['email'];
$user_phone = $_POST['phone']
$user_frequency = $_POST['frequency'];
$user_bins = $_POST['bins'];
$user_notes = $_POST['notes'];
$body = <<<EOD
<br><hr><br>
Name: $name <br>
Address: $address <br>
City: $city <br>
Email: $email <br>
Phone: $phone <br>
Frequency: $frequency <br>
Bins: $bins <br>
Notes: $notes <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$theResults = <<<EOD
<html>
<head>
<title>You're Booked</title>
</head>
<body>
<h1>Booked</h1>
<p>Thank you for booking with us. We clean the day after your trash day. We will contact you soon to let you know the date of your next appointment</p>
</body>
</html>
EOD;
echo "$theResults";
?>
