include("common/header.php"); ?> if (empty($_POST["email"])) {$errmsg.="
Ran into a problem? Sorry! But please do let us know so we can fix it ASAP. Simply put in your email address and give us the details. We'll get back to you as soon as we can!
} // end if errors exist else { // else if no errors log the issue in DB and email it to ME! $email = $_POST["email"]; $issuetype = $_POST["type"]; $issuedetails= $_POST["issueDetails"]; include("common/db/connectdb.php"); // connect db include("common/queries/qry_insertIssue.php"); // send the issue in email to the user for conf $to = $_POST["email"]; $subject = "Issue reported on pointshootreceipt.com"; $message = "Hello!,\r\n\r\nAn issue has been reported by you on pointshootreceipt.com.\r\n\r\nYour email is: " . $_POST["email"] ."\r\n\r\nYour type is: ". $_POST["type"] . ".\r\n\r\nYour issue details are: ". $_POST["issueDetails"] . ".\r\n\r\nWe will get back to you very shortly.\r\n\r\nPlease do not reply to this automated email.\r\n\r\nThank you!"; include("common/communication/sendemail.php") ?>We've got your issue logged and will look into it! You honest, good semaritan, you ;)
We will get back to you very shortly. For Real.
} ?>