Please enter your name\n"; } if (empty($_REQUEST['email'])) { $submit_error .= "
  • Please enter your email address
  • \n"; } if (empty($_REQUEST['comment'])) { $submit_error .= "
  • Please enter your comment
  • \n"; } if ($_REQUEST['human'] != 1) { $submit_error .= "
  • Be sure to check 'yes' if you're a human and not spamming!
  • \n"; } if (empty($submit_error)) { $email_to = "x17@x17agency.com"; //$email_to = 'awatson@nexcess.net'; $email_subject = "contact from x17 website"; $from = $_REQUEST['email']; $email_body = " NAME: $_REQUEST[name] EMAIL: $_REQUEST[email] MESSAGE: $_REQUEST[comment]\n\n"; mail($email_to, $email_subject, $email_body, "From: $from"); $contact_submitted = 1; } } ?>

    Contact

    Thanks for your feedback!

    \n"; } else { echo "

    Get in touch! Use the form below to send us an email.

    \n"; if (!empty($submit_error)) { echo "

    $submit_error

    \n"; } echo "

    Your name (required)

    Your email address (required)

    Your website (required)

    Your comment

    "; } ?>