hey all, ive been working on a php contact form script but i have problem i cant succses to do the "all fields are required" thing, ill be very glad if u guys could complete my script PLEASE!!
this is my php script:
<?php
$recipient = "Email";
$subject = "Contact form";
$location = "sent.html";
$sender = $recipient;
$body .= "Full Name: ".$_REQUEST['Fullname']." \n";
$body .= "Email: ".$_REQUEST['Email']." \n";
$body .= "Subject: ".$_REQUEST['choose']." \n";
$body .= "Message: ".$_REQUEST['Text']." \n";
mail( $recipient, $subject, $body, "From: $sender" ) or die ("Mail could not be sent.");
header( "Location: $location" );
?>
THANKS IN ADVENCE!!!