Hi ive made a form with dreamweaver and i want to send the information that i recolect from users.and far away is sending me the message ,but not all info from all the textfield that i have i dont receive name , and i have this sendform.php
Code: Select all
<?php
$to = "paultechdocs@aol.com";
$subject = "Contact Us";
$name = $_REQUEST['name'] ;
$phone = $_REQUEST['phone'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$headers = "From: $email";
$sent = mail($to, $subject, $message, $headers) ;
if($sent)
{print "Your mail was sent successfully"; }
else
{print "We encountered an error sending your mail"; }
?>
ive validate my form,ive chaeck the textfield if they are realitionate with the script. i receive the message,but not all the request textfields that i ave.wheres is the problem and what i have to change on my form to make works all the texfield that i put on, or i add. customize my script.
thank you