Hey everyone,
I was wondering if you could help me please?
I have found this tutorial by Senocular really good: http://www.kirupa.com/developer/actionscript/flash_php_email.htm
I was wondering though, is it possible to alter it so that there is more than one message field?
For instance could you have input fields for phone number, address and message which would all appear in the message body of the email once it was sent? If that’s possible, how would I go about altering the form and php to do this?
Thanks very much in advance for any replies, your help is really appreciated!
David
EDIT:
Further to that post, the three variables currently in the contact form are ‘name’, ‘email’ and ‘message’.
The php form contains this text:
<?php
$sendTo = “emailgoeshere”;
$subject = “Enquiry from talkingsolutions.com.au”;
$headers = “From: " . $_POST[“firstName”] .” “. $_POST[“lastname”] . “<” . $_POST[“email”] .”>
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-path: " . $_POST[“email”];
$message = $_POST[“message”];
mail($sendTo, $subject, $message, $headers);
?>
Thanks!