I have a flash form which all of the fields are sending correctly
through the php code. The flash radio buttons I added with the
groupname == topic, doesnt send with the rest of the
information that is being sent to the email. My question is how do I get
the flash radio button info to submit with the rest of the form.
The code for the send button on my flash file:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables(“form.php”, “POST”);
}
===============================================
Form.php:
<?php
$to = "Contactus@test.com";
$subject = “Contact Page Information for Today”;
$headers = "From: " . $_POST[“name”];
$headers .= “<” . $_POST[“email”] . ">
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-Path: " . $_POST[“email”];
$message .= "
";
$message .= "Subject: " . $_POST[“topic”] . "
";
$message .= "Email: " . $_POST[“email”] . "
";
$message .= "Name: " . $_POST[“name”] . "
";
$message .= "Address: " . $_POST[“address”] . "
";
$message .= "City: " . $_POST[“city”] . "
";
$message .= "State: " . $_POST[“state”] . "
";
$message .= "Zip Code: " . $_POST[“zip”] . "
";
$message .= "Phone: " . $_POST[“phone”] . "
";
$message .= "Message: " . $_POST[“message”] . "
";
mail($to, $subject, $message, $headers);
?>