Hi
How do i send HTML form data using php mail function.
I managed to use mail function to send email for a message, but I would like to send more than just a message. I have a html form which calls a php script to send email.
The form has couple of input type text and radio fields. Please see here:
http://www.hostcheese.com/FreeAffiliateWebsite/submitdetails/submitdetailstest.html
My current php script that send message only is below:
[php]<?php
$email_address = $_POST[‘email’] ;
$subject = $_POST[‘subject’] ;
$message = $_POST[‘message’] ;
mail( "[email protected]", “Subject: $subject”,
$message, “From: $email” );
echo “Thank you for using our mail form.
”;
echo “Your email has been sent.”;
?>
[/php]
How do I update this php script to send the form data on the above link.
Thanks