$value){ if(($key != 'area_of_interest')&&($key != 'action')&&($key != 'to')&&($value)){ $field = explode("_", $key); for($i = 0; $i < count($field); $i++){ $field[$i]{0} = strtoupper($field[$i]{0}); } $field = implode(" ", $field); $body .= "$field:\n ".nl2br(trim($value))."\n"; }elseif($key == 'area_of_interest'){ if(is_array($HTTP_POST_VARS['area_of_interest'])){ $body .= "Areas of interest:\n ".implode("\n ", $HTTP_POST_VARS['area_of_interest'])."\n"; }else{ $body .= "Areas of interest:\n".$HTTP_POST_VARS['area_of_interest']."\n"; } } } mail($HTTP_POST_VARS['to'], "Service Inquiry From Gorrells.com", $body, "From: info@gorrells.com"); header("Location: thankyou.php?serviceinquiry=true;"); exit; } } include("header.php"); if(!is_array($HTTP_POST_VARS['area_of_interest'])){ $HTTP_POST_VARS['area_of_interest'] = array(); } if(count($errors) > 0){ echo "
\n"; echo "There were one or more errors:
\n"; foreach($errors as $error){ echo $error."
\n"; } echo "
\n"; } ?>

Contact Information ( * = Required Fields )
* First Name:  
* Last Name:
Title:
* Company:
* Business Phone:
For international users, please include country code.
* Email:
Company Information
Type of business:
If "Other" is selected, please specify:
Annual Sales:
Number of Employees:
Your Company Website URL: Sample: http://www.google.com
Address Information
Street:
 
Office Room Number:
City:
State:
Province:
Country:
Zip Code:
Area of Interest and/or Need for Assistance ( * = Required Fields )
Are you a Current Gorrell’s Customer?
> Yes  > No  > Do not know
If "Yes" is selected, what Gorrell’s Products/Services are you using?
* What is your specific Area of Interest? (select all that apply):
If "Other" is selected, please describe Area of Interest:
If "Needs Technical Assistance or has RFP" is selected, please describe the need for Technical Assistance or Assistance with an RFP:
Additional Comments:
Thank You for Your Inquiry.