radionButton php variable help/question

I’m hoping someone can help me here…

I set up a simple form (email text field and submit button with results) in flash for a php mailing list program I’ve been using for a while. it works fine… but I decided to add 2 radio buttons (TEXT & HTML) but I’m having problems getting them to send the right variables to the database. It should be fairly simple since theres only 2 choices and the variables are just as simple (the choices are TEXT is 0 & HTML is 1 and the variable is “type”).

Heres the variables i set-up for the rest of the form:

mymail_add = "http://www.mydomain.com/subfolder/add.php";
id = "mailinglist";
confirm = "SIGN-UP COMPLETE!";
action = "send";
error1 = "VALID EMAIL REQUIRED";
error2 = "NAME REQUIRED";

I gave the 2 radio buttons variables but how would I add the variables to the AS list above?
I tried adding:

type = 1;

but that just made it default to HTML, i need the user to be able to pick which way theyd like to recieve emails…

any ideas?
thanks