# Issue: Flash radio buttons & Php form

**URL:** <https://forum.kirupa.com/t/issue-flash-radio-buttons-php-form/219309>\
**Category:** flash\
**Created:** [March 15, 2007, 4:21pm UTC](https://forum.kirupa.com/t/issue-flash-radio-buttons-php-form/219309 "2007-03-15T16:21:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lutrell](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@lutrell](https://forum.kirupa.com/u/lutrell)\
**Post date:** [March 15, 2007, 4:21pm UTC](https://forum.kirupa.com/t/issue-flash-radio-buttons-php-form/219309/1 "2007-03-15T16:21:14Z")

</div>

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);  
?\>
