Submit Your Deals
if($_POST['formvalid']=="HUMAN") {
$to = "news@jacksonvilleonthecheap.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.
“;
}
?>
