<?php
$firstname = $_REQUEST['firstname'];
$lastname = $_REQUEST['lastname'];
$address1 = $_REQUEST['address1'];
$address2 = $_REQUEST['address2'];
$city = $_REQUEST['city'];
$state = $_REQUEST['state'];
$zip = $_REQUEST['zip'];
$phone_area = $_REQUEST['phone_area'];
$phone_prefix = $_REQUEST['phone_prefix'];
$phone_suffix = $_REQUEST['phone_suffix'];
$email = $_REQUEST['email'];
$hear = $_REQUEST['how_did_you_hear'];
$message = $_REQUEST['message'];
$compiled_message = array('Name: ', $firstname, $lastname, '_________', ' Address: ', $address1, $address2, $city, '  ',$state,'  ',$zip, '_________', ' Phone: ', $phone_area, ' ', $phone_prefix, ' ', $phone_suffix, ' Email: ', $email,	'________', ' Message: ',$message);
mail( "info@capitalmaid.com", "Regular Request", implode(" ",$compiled_message), "From: $email" );





header('location:thankyou.php');
exit;
?>