I came across some assistance with a PHP form. However here's my problem.
The form by itself, will preview and work fine in the browser. But once I add it to my webpage (in place of my current form), my page won't load at all. So something isn't compatible somewhere with the form, and my page. Because my current form works fine (from a preview perspective, not from a functionality perspective).
So in summary...
1.) current form previews fine
http://www.jacksonao.com/contactus.html
2.) new form will preview fine by itself
3.) webpage will not preview at all when current form is replaced with new form.
any tricks?
Here's the code for my new form:
<form method="post" action="sendeail.php">
<!-- DO NOT change ANY of the php sections -->
<?php
$ipi = getenv("REMOTE_ADDR");
$httprefi = getenv ("HTTP_REFERER");
$httpagenti = getenv ("HTTP_USER_AGENT");
?>
<input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="httpref" value="<?php echo $httprefi ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />
Your Name: <br />
<input type="text" name="visitor" size="60" />
<br />
Your Business Name:<br />
<input type="text" name="visitor business" size="60" />
<br />
Your Email Address:<br />
<input type="text" name="visitor email" size="60" />
<br />
Your Business URL:<br />
<input type="text" name="visitor web address" size="60" />
<br />
Your Phone Number:<br />
<input type="text" name="visitor phone" size="60" />
<br />
<br />
Please describe the types of information or services you are interested<BR />
in receiving from Jackson Administrative Outsourcing.
<br />
<textarea name="notes" rows="10" cols="65"></textarea>
<br />
<input type="submit" value="Send Mail" />
<br />
</form>