$isSubmitted= '.$isSubmitted;
$toStr = (isset($_POST['to'])) ? $_POST['to'] : '';
$from = (isset($_POST['from'])) ? $_POST['from'] : '';
$email = (isset($_POST['email'])) ? $_POST['email'] : '';
$phone = (isset($_POST['phone'])) ? $_POST['phone'] : '';
$subject = (isset($_POST['subject'])) ? $_POST['subject'] : '';
$peoplenumber = (isset($_POST['peoplenumber'])) ? $_POST['peoplenumber'] : '';
$desireddates = (isset($_POST['desireddates'])) ? $_POST['desireddates'] : '';
$flexible = (isset($_POST['flexible'])) ? $_POST['flexible'] : '';
$message = (isset($_POST['message'])) ? $_POST['message'] : '';
?>
Message successfully sent. We appreciate your visit to our website, and we'll do our best
to respond to your request shortly.
Yours Truly,
SliceoftheSun.com";
} else {
echo "Message failed to send. Try sending an email to contact@sliceofthesun.com ";
}
//END: we have submitted the form now
?>
|