Submit Your Deals

 
 Posted by at 4:19 pm  Add comments

if($_POST['formvalid']=="HUMAN") {
$to = "news@washingtondconthecheap.com/";
$subject = "'Submit Your Deals' submission";
$name_field = $_POST['formname'];
$email_field = $_POST['formemail'];
$message = $_POST['formmessage'];

$body = "From: {$name_field}\n\n E-Mail: {$email_field}\n\n Message:\n\n {$message}";

echo "

Thanks for telling us! If you hear of any other deals, please let us know!

“;
mail($to, $subject, $body);
} else {
echo “

If you know of any deals we might have missed, please tell us about them using the form below.

“;
}

?>

Your Name:

Your Email Address:

Information About the Deal:

Please type “HUMAN” in the box below:


Share on FacebookShare on TwitterPin it on Pinterest+1Share via email

Leave a Reply

Your email address will not be published. Required fields are marked *

*

HTML tags are not allowed.