Hey What’s wrong with this php mailto i can’t figure out why it does not work. Any advice could be great ?
PHP Mailto:::
<?php
if ($_POST[“CheckBox”] == “A”)
{
$text = “Information Below:nnFull Name: ” .$_POST[‘county’]. ” nApproximate House Value: ” .$
.$_POST[‘dob’]. “nTotal Current Balance of Any Mortgages, equityies or liens against your property: ” .$
.$_POST[’email’]. “nQuestions: ”
.$
if(mail(‘
print “<p>**You have succesfully sent an e-mail to us and we will respond to you shortly, please wait and you will be redirected automatically to the How Much is Available Page or click another link to browse our website.</p>”;}
}
if ($_POST[“CheckBox”] == “B”)
{
$text = “Information Below:nnFull Name: ” .$_POST[‘county’]. ” nApproximate House Value: ” .$
.$_POST[‘dob’]. “nTotal Current Balance of Any Mortgages, equityies or liens against your property: ” .$
$_POST[‘telephone’]. “nQuestions: ”
.$
if(mail(‘
print “<p>
}
if ($_POST[“CheckBox”] == “C”)
{
$text = “Information Below:nnFull Name: ” .$_POST[‘county’]. ” nApproximate House Value: ” .$
.$_POST[‘dob’]. “nTotal Current Balance of Any Mortgages, equityies or liens against your property: ” .$
.$_POST[‘snail’]. “nAddress: ”
.$
.$_POST[‘location’]. “nQuestions: ”
.$
if(mail(‘
print “<p>**You have succesfully sent an e-mail to us and we will respond to you shortly, please wait and you will be redirected automatically to the How Much is Available Page or click another link to browse our website.</p>”;}
}
?>
Form part of the PHP:::
<p><label><input type=”checkbox” name=”CheckBox” value=”A”/>E-mail Address</label><br/>
</P
<div id=”checkbox1″><p>Your Email Address <br /><input style=”width: 1.71in; height: 0.24in;” name=”email” size=”20″ type=”text” /></p></div>
<br/>
<p><label><input type=”checkbox” name=”CheckBox” value=”B”>Telephone</label></p>
<div id=”checkbox2″>
<p>Your Telephone Number <br /><input style=”width: 1.71in; height: 0.24in;” name=”telephone” size=”20″ type=”text” /></p></div>
<br/>
<p><label><input type=”checkbox” name=”CheckBox” value=”C”/>Mail Address</label></p>
<div id=”checkbox3″><p>
Your Name<br /><input style=”width: 1.71in; height: 0.24in;” name=”snail” size=”20″ type=”text” /><br />Your Address<br /><input style=”width: 1.71in; height: 0.24in;” name=”address” size=”20″ type=”text” /><br />City,State,Zip<br /><input style=”width: 1.71in; height: 0.24in;” name=”location” size=”20″ type=”text” /><br /><br /></p>
</div>
Thanks,
Kamron