Like this?
<?php
$to =
misty@you.com;
$subject = "The Test Email From PHP Contact Me Form";
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$headers = "From: $email";
$sent = mail($to, $subject, $message, $headers) ;
if($sent)
{print "Your email message below was sent successfully"; }
else
{print "Sorry, We encountered an error sending your mail below. Please hit the back button on your browser and try again!"; }?>
<br />
<p>
<b>Name</b>: <?php echo $_POST["txtName"]; ?>.<br />
<b>Address</b>: <?php echo $_POST["txtAddress"]; ?>
<b>City</b>: <?php echo $_POST["txtCity"]; ?>.<br />
<b>State</b>: <?php echo $_POST["SelState"]; ?>.<br />
<b>Zip</b>: <?php echo $_POST["txtZip"]; ?>.<br />
<b>Phone</b>: <?php echo $_POST["txtPhone"]; ?>.<br />
<b>Email Address</b>: <?php echo $_POST["txtEmail"]; ?>.<br />
<b>Type of Project</b>: <?php echo $_POST["chkbox[]"]; ?>.<br />
<b>Details on Project</b>: <?php echo $_POST["txtaProjectType"]; ?>.<br />
Edited by iSec - 12 October 2008 at 2:43am