Thank You

[insert_php]

$to = “noisedd@gmail.com, sswyter@gmail.com”; /*Your Email*/

$subject = “A new message from the website”; /*Issue*/
$date = date (“l, F jS, Y”);
$time = date (“h:i A”);
$Email=$_REQUEST[‘your-email’];
$phone = $_REQUEST[‘your-subject’];

if($Email == ”){
echo “

Please double check your email address.

“;
echo ‘‘;
} else{

if($_REQUEST[‘your-name’] == ”){
echo “

Please double check your name.

“;
echo ‘‘;
} else {
$msg = “Message sent from website on ” . $date .”,” . ” at ” . $time . “\r\n Name: ” . $_REQUEST[‘your-name’] . “\r\nPhone: ” . $phone . “\r\nMessage: ” . $_REQUEST[‘your-message’];

mail($to, $subject, $msg, “From: $Email”);
echo “

Thank you for your message, someone will contact you as soon as possible.

“;
}

} // end of email if statement

[/insert_php]