In theory I see what we are trying to do. In practice I'm running into a learning curve wall.
Do you mind taking at look at the code? The page is failing I am not sure why I can't see it.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="RNL Services LLC installs Fire Protection Systems that are cost-effective, dependable and proven to protect your valued property from the dangers of fire. Whether you require a new Fire Protection System or need someone to inspect or service an installed Fire Protection System you can depend on RNL Services LLC. " />
<link rel="shortcut icon" href="images/favicon.jpg">
<meta property="og:title" content="RNL Services LLC" />
<meta property="og:description" content="RNL Services LLC installs Fire Protection Systems that are cost-effective, dependable and proven to protect your valued property from the dangers of fire." />
<meta property="og:image" content="
http://www.rnlservicesllc.com/images/rnllogo.jpg" />
<title>RNL Services LLC Contact Us</title>
<style type="text/css">
<!--
body {
background-color: #c02327;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color: #000;
background-image: url('images/rnl_services_contact.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-position: top center;
}
-->
</style>
<link href="rllstyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
function getKey(e) {
var kC = e.keyCode ? e.keyCode : e.which ? e.which : null;
if (kC && (kC == 37 || kC == 39)) return false; //arrow keys
}
function formatPhone(e, field) {
var kC = e.keyCode ? e.keyCode : e.which ? e.which : null;
if (kC) {
if (kC ==

return true; //backspace
var keyChar = String.fromCharCode(kC);
if (!/\d/.test(keyChar)) return false; //numbers only
if (field.value.length == 0 && keyChar == '0') //no area codes begin with zero
return false;
if (field.value.length == 3) field.value += '-';
if (field.value.length == 7) field.value += '-';
}
return true;
}
</script>
</head>
<body onload="document.form1.name.focus()">
<div id="page_home">
<div id="contacta">
<div id="blue"><a href="index.html" target="_self"><img src="images/clickit.jpg" alt="RNL Services LLC" width="231" height="182" border="0" /></a></div>
<div id="contact_usa"><a href="index.html" target="_self">HOME</a> | <a href="services.html" target="_self">SERVICES</a> | <a href="installation.html" target="_self">INSTALLATION</a> | <span id="grey">CONTACT US</span></div>
</div>
<div id="contactb">
<form method="post" action="$_SERVER['PHP_SELF'] name="form1" id="form1">
<div id="contact_us_nowa">
<div id="contactusa">First Name:</div>
<div id="contactusb">Last Name:</div>
<div id="contactusc">Email:</div>
<div id="contactusd">Telephone Number:</div>
</div>
<div id="contact_us_nowb">
<div id="contactusnowa"><input name="name" type="text" id="name" tabindex="1" size="25"/></div>
<div id="contactusnowb"><input name="last" type="text" id="last" tabindex="2" size="25"/> </div>
<div id="contactusnowc"><input name="email" type="text" id="lastemail" tabindex="3" size="25"/> </div>
<div id="contactusnowd"><input name="phone" type="text" id="phone" tabindex="5" onkeypress="return formatPhone(event,this)" onkeydown="return getKey(event,this)" size="12" maxlength="12"/> </div>
<div id="contactusnowe">ex. #########</div>
</div>
<div id="contact_us_nowc">How can we help you?</div>
<div id="contact_us_nowd">
<div id="conta"><textarea name="help" id="help" cols="60" rows="10" tabindex="6"></textarea>
</div>
<div id="contb">
<?php
require_once('recaptchalib.php');
$publickey = "6LcgXcISAAAAAAyQgjchXTWy8lyC_8gexpGadSHB"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>
</div>
</div>
<div id="contact_us_nowe">
<div id="contusa">Daytime:</div>
<div id="contusb"><input type="radio" name="when" value="Daytime" id="when_0" tabindex="7"/></div>
<div id="contusc">Evening:</div>
<div id="contusd"><input type="radio" name="when" value="Evening" id="when_1" tabindex="8"/></div>
<div id="contuse"><input type="submit" name="Submit" value="Submit" tabindex="9" />
</div>
<div id="contusf"><input type="reset" name="reset" id="reset" value="Reset" tabindex="10"/>
</div>
</div>
</form>
</div>
<div id="contactc">© 2011 RNLServicesLLC.com All Rights Reserved. Site created by <a href="
http://www.mattguise.com/" target="_blank">MattGuise.com</a></div>
</div>
</body>
</html>
<?php
require_once('recaptchalib.php');
$privatekey = "6LcgXcISAAAAAM1AVPk9klR9olDeHbtseB2vt3DP";
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
// What happens when the CAPTCHA was entered incorrectly
$theResults = <<<EOD
//Not sure what to put here??????
echo "$theResults";
} else {
/* Email Variables */
$emailSubject = 'Contact Form';
$webMaster = '
mguise@mattguise.com';
// $webMaster = '
lvennard@yahoo.com';
//$webMaster = '
murrterr@rcn.com';
/* Data Variables */
$name = $_POST['name'];
$last = $_POST['last'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$help = $_POST['help'];
if (isset($_POST["submit"])) {
echo $_POST["when"];
}
$body = <<<EOD
\r\n \r\n <br>
First Name: $name \r\n <br>
Last Name: $last \r\n <br>
Email: $email \r\n <br>
Phone: $phone \r\n <br>
How can we help you?: $help \r\n <br>
When: $when \r\n <br>
EOD;
$from = "From:
Rusty@RNLServicesLLC.com\r\n";
$from .= "Reply-To: ".$email."\r\n";
$from .= "Content-type: text/html\r\n";
mail($webMaster, $emailSubject, $body, $from);
/* Results rendered as HTML */
$theResults = <<<EOD
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="RNL Services LLC installs Fire Protection Systems that are cost-effective, dependable and proven to protect your valued property from the dangers of fire. Whether you require a new Fire Protection System or need someone to inspect or service an installed Fire Protection System you can depend on RNL Services LLC. " />
<link rel="shortcut icon" href="images/favicon.jpg">
<meta property="og:title" content="RNL Services LLC" />
<meta property="og:description" content="RNL Services LLC installs Fire Protection Systems that are cost-effective, dependable and proven to protect your valued property from the dangers of fire." />
<meta property="og:image" content="
http://www.rnlservicesllc.com/images/rnllogo.jpg" />
<title>RNL Services LLC Contact Us</title>
<style type="text/css">
<!--
body {
background-color: #c02327;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color: #000;
background-image: url('images/rnl_services_contact.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-position: top center;
}
-->
</style>
<link href="rllstyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
function getKey(e) {
var kC = e.keyCode ? e.keyCode : e.which ? e.which : null;
if (kC && (kC == 37 || kC == 39)) return false; //arrow keys
}
function formatPhone(e, field) {
var kC = e.keyCode ? e.keyCode : e.which ? e.which : null;
if (kC) {
if (kC ==

return true; //backspace
var keyChar = String.fromCharCode(kC);
if (!/\d/.test(keyChar)) return false; //numbers only
if (field.value.length == 0 && keyChar == '0') //no area codes begin with zero
return false;
if (field.value.length == 3) field.value += '-';
if (field.value.length == 7) field.value += '-';
}
return true;
}
</script>
</head>
<body onload="document.form1.name.focus()">
<div id="page_home">
<div id="contacta">
<div id="blue"><a href="index.html" target="_self"><img src="images/clickit.jpg" alt="RNL Services LLC" width="231" height="182" border="0" /></a></div>
<div id="contact_usa"><a href="index.html" target="_self">HOME</a> | <a href="services.html" target="_self">SERVICES</a> | <a href="installation.html" target="_self">INSTALLATION</a> | <a href="contact_us.php" target="_self">CONTACT US</a></div>
</div>
<div id="contactb">
<form action="verify.php" method="post" name="form1" id="form1">
<div id="contact_us_nowa"></div>
<div id="contact_us_nowb"></div>
<div id="contact_us_nowc"></div>
<div id="contact_us_nowd">Thank you, RNL SERVICES LLC. will contact you soon.</div>
<div id="contact_us_nowe"></div>
</form>
</div>
<div id="contactc">© 2011 RNLServicesLLC.com All Rights Reserved. Site created by <a href="
http://www.mattguise.com/" target="_blank">MattGuise.com</a></div>
</div>
</body>
</html>
EOD;
echo "$theResults";
}
?>