|
A TRUSTED LEADER IN THE METALS INDUSTRY SINCE 1926 |
|
|
|
|
| |
|
|
|
| |
If you have any questions or would like to receive information on our products and services that we offer at Lapham-Hickey Steel, please fill in the form below:
[CLICK HERE FOR TERMS & CONDITIONS OF SALES]
0) {
foreach($errors as $err)
echo "$err \n";
echo " One or more of the required fields has been left empty, please use your browser back button to fix.";
}else{
//if no errors were found, then we build the message
switch($_POST['location']){
case 'chicago':
$recipient = 'kmaloney@lapham-hickey.com, dferdinand@lapham-hickey.com ';
break;
case 'oshkosh':
$recipient = 'kmaloney@lapham-hickey.com, schaubroeck@lapham-hickey.com';
break;
case 'lc':
$recipient = 'kmaloney@lapham-hickey.com, koch@lapham-hickey.com';
break;
case 'columbus':
$recipient = 'kmaloney@lapham-hickey.com, ckeller@lapham-hickey.com';
break;
case 'madison':
$recipient = 'kmaloney@lapham-hickey.com, astacey@lapham-hickey.com';
break;
case 'pawcatuck':
$recipient = 'kmaloney@lapham-hickey.com, rosado@lapham-hickey.com';
break;
case 'fairfield':
$recipient = 'kmaloney@lapham-hickey.com, amahaffey@lapham-hickey.com';
break;
default:
$recipient = 'kmaloney@lapham-hickey.com';
}
$subject = "Inquirey from LHS Website Contact Us Page";
$name = $_POST['name'];
$comp_name = $_POST['comp_name'];
$address1 = $_POST['address1'];
$address2 = $_POST['address2'];
$city = $_POST['city'];
$state = $_POST['state'];
$zip = $_POST['zip'];
$phone = $_POST['phone'];
$fax = $_POST['fax'];
$email = $_POST['email'];
$contact =str_replace ( array("\n"), array(" "),trim($_POST['contact'])); $subject1 =str_replace ( array("\n"), array(" "),trim($_POST['subject1'])); $questions = $_POST['questions'];
$msg =
"Message Sent By: $name\n" .
"Company: $company_name\n" .
"Address: $address1\n" .
"Address Line 2: $address2\n" .
"City: $city\n" .
"State: $state\n" .
"Zip: $zip\n" .
"Phone: $phone\n" .
"Fax: $fax\n" .
"Email: $email\n" .
"Prefered Source of Contact: $contact\n" .
"Reason for Inquiry: $subject1\n" .
"Additional Questions and/ or Comments: $questions\n" .
"\n\n-----------------------------------------\n" ;
if (mail($recipient,$subject,$msg, $headers)){
echo "Thank you for contacting Lapham-Hickey Steel!
We will contact you shortly, have a great day! ";
echo nl2br($msg);
} else
echo "Sorry, an unknown error has occurred. Please try again, or call for assistance:
(920)233-8502 EXT: 108. Thank You!";
}
}
?>
|
|
|
|
|
|
| |
|
|
| ISO 9001: 2000 CERTIFIED |
|
 |
|
|