# Passing Radiobutton values to PHP

**URL:** <https://forum.kirupa.com/t/passing-radiobutton-values-to-php/169569>\
**Category:** flash\
**Created:** [November 17, 2005, 10:54am UTC](https://forum.kirupa.com/t/passing-radiobutton-values-to-php/169569 "2005-11-17T10:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tetsugaku\_San](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@Tetsugaku\_San](https://forum.kirupa.com/u/Tetsugaku_San)\
**Post date:** [November 17, 2005, 10:54am UTC](https://forum.kirupa.com/t/passing-radiobutton-values-to-php/169569/1 "2005-11-17T10:54:49Z")

</div>

Hi there, fairly simple I hope, I have a movie clip called form with 3 input boxes in it, I then pass these variables to a PHP page that emails them out to a specific email address, all well and good and this works fine.

However, I need to add a yes/no query to the form using radiobuttons, what I can’t figure out is how to actually grab the variable for the radiobutton in the PHP, I had originally believed that the variable would just be the groupname of the radiobuttons however this doesn’t work.

I suspect the radiobuttons variable isn’t actually being passed to the script at all - can anyone help?

For the record I’m using MX2004, AS2.0 and the submitting code on my submit button is:

on (release) {  
form.loadVariables("/testarea51/email.php", “POST”);  
}
