Hi
Is Naval Design around plzzzzz or any other expert
I have my form up and running, but would like to add required fields to name and email. this is my contact link. http://www.atexflooring.ca/contact.html
I went over some of the threads here on the subject, however I kept runing into errors.
this is the script I have in there as of now.
I appreciate any help you guys can offer
Thnx
mike
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "me@mydomain.ca";
$mailsubj = "Inquiry form Contact Us";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Customer Inquiry from Contact Us page:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
Is Naval Design around plzzzzz or any other expert
I have my form up and running, but would like to add required fields to name and email. this is my contact link. http://www.atexflooring.ca/contact.html
I went over some of the threads here on the subject, however I kept runing into errors.
this is the script I have in there as of now.
I appreciate any help you guys can offer
Thnx
mike
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "me@mydomain.ca";
$mailsubj = "Inquiry form Contact Us";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Customer Inquiry from Contact Us page:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
Comment