All spaces removed. Now getting this Error coding on the site: We are very sorry, but there were error(s) found with the form you submitted. These errors appear below.
The RAID you entered do not appear to be valid.
The Extras you entered do not appear to be valid.
The Accessories you entered do not appear to be valid.
The Customer Specifics you entered do not appear to be valid.
The Maximum Budget you entered do not appear to be valid.
Please go back and fix these errors.
The respective coding for each of the above are:
The names on the HTML are the same as on the PHP so I think it's something I'm just failing to see.
The RAID you entered do not appear to be valid.
The Extras you entered do not appear to be valid.
The Accessories you entered do not appear to be valid.
The Customer Specifics you entered do not appear to be valid.
The Maximum Budget you entered do not appear to be valid.
Please go back and fix these errors.
The respective coding for each of the above are:
Code:
!isset($_POST['raid']) || $RAID = $_POST['raid']; if(strlen($RAID) < 2) { $error_message .= 'The RAID you entered do not appear to be valid.<br />'; } $email_message .= "RAID: ".clean_string($raid)."\n";
Code:
!isset($_POST['extras']) || $Optional_Extras = $_POST['extras']; if(strlen($Optional_Extras) < 2) { $error_message .= 'The Extras you entered do not appear to be valid.<br />'; } $email_message .= "Optional Extras: ".clean_string($extras)."\n";
Code:
!isset($_POST['accessories']) || $Accessory_Packs = $_POST['accessories']; if(strlen($Accessory_Packs [2]) < 2) { $error_message .= 'The Accessories you entered do not appear to be valid.<br />'; } $email_message .= "Accessory Packs [2]: ".clean_string($accessories)."\n";
Code:
!isset($_POST['customer']) || $Customer_Specifics = $_POST['customer']; if(strlen($Customer_Specifics) < 2) { $error_message .= 'The Customer Specifics you entered do not appear to be valid.<br />'; } $email_message .= "Customer Specifics: ".clean_string($customer)."\n";
Code:
!isset($_POST['budget'])) || $Maximum_Budget = $_POST['budget']; if(strlen($Maximum_Budget) < 2) { $error_message .= 'The Maximum Budget you entered do not appear to be valid.<br />'; } $email_message .= "Maximum Budget: ".clean_string($budget)."\n";
Comment