".$key.": ".$clean[$key]. " - result: ".strpos(strtolower($clean[$key]),"http"); // if(!(strpos(strtolower($clean[$key]),"http") == false)) // $goodsubmission=false; $sqlstr1.=substr($key,6,strlen($key)-6).","; $sqlstr2.="'".$clean[$key]."',"; } } if($goodsubmission && !IsSpam(strtolower(mysql_real_escape_string($_POST['FIELD_CLIENTSERVICEREQUEST'])))) { // prepareware submission: $conn = mssql_connect($tds_server, $tds_dbuser,$tds_dbpw); mssql_select_db($tds_dbname); $sqlstr="insert into preparewarecustomer..CustomerService (".substr($sqlstr1,0,strlen($sqlstr1)-1).") values (".substr($sqlstr2,0,strlen($sqlstr2)-1).")"; $query = mssql_query($sqlstr); if (!$query) $errortext="

Database error during insert to PrepareWare: ".mssql_get_last_message; // MySQL submission $sqlstr="insert into CustomerService (".substr($sqlstr1,0,strlen($sqlstr1)-1).",EntryDate) values (".substr($sqlstr2,0,strlen($sqlstr2)-1).",now())"; if (!mysql_query($sqlstr)) die("a database error occurrred"); // handle any uploaded files $emailstr_files = f_ProcessFiles("www"); $emailbody = "**** Submitted at PrepareFirst.com Customer Service Request page: ".$errortext."

"; foreach($clean as $key => $value) If (substr($key,0,6) == "FIELD_" && !empty($value)) $emailbody .= ""; $emailbody .= $emailstr_files; $emailbody .= "
".$sentdate."
".str_replace("_"," ",$key)."".nl2br($value)."
"; sendmail_to_PF("Customer service request from PrepareFirst.com",$emailbody); } } ?>
  "; if($goodsubmission) echo "Thank you very much.

We will contact you in the immediate future to address the issue you are experiencing.

You may also contact us at 678-888-0600."; else echo "Invalid submisssion"; echo "
"; } else { ?>

Please let us know how we can help you.                                                                                                                                             
List your question(s) or area(s) of interest:
If you like, you may send us pictures of key safety issues to review:
Image 1:
Image 2:
Image 3:
Image 4:
Image 5:
Image 6:
Image 7:
Image 8:
Submitted by:
First Name(s)   Last Name
   
Organization (if applicable)
Street Address
City   State   Zip
   
Phone Number
Email

If you click "SUBMIT" and do not immediately receive
a confirmation page please call or email us. Thank you!