469,090 Members | 1,182 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,090 developers. It's quick & easy.

Flash MX radio button vars passed to a PHP form.. Stumped

8
Please help!

Does anyone know how to set up radio buttons to send their info from flash to a PHP script that will email me the results? I have been trying to get this thing to work for weeks, and I still can not get it to work right.

Right now, I have a survey that looks like this, and it sends the input text just fine, but when I get the email, all the radio button info is not there.

I can provide files or code if it helps. I really just need a working sample .fla and PHP code of more than one radio button and maybe 2 imput text boxes that the vars are sent to the form.php and emailed to me.

Thanks in advance!
Nov 30 '06 #1
8 10693
you still need this script
Feb 7 '07 #2
you still need this script
I need the script if you have it PLEASE.
Feb 27 '07 #3
SJL
1
I'm having the same problem. Did you ever find the answer??
Mar 13 '07 #4
iam_clint
1,208 Expert 1GB
Let me see your php code... thats more than likely where you are erroring out.
Mar 13 '07 #5
I am postitive that my php is wrong, i also dont have any actionscript on my buttons either, i have them labled by group name but that is the only indicator.
Mar 13 '07 #6
Let me see your php code... thats more than likely where you are erroring out.

The site is andrewandtessa.com to see the form click on the rsvp section.

Here is my php.

<?php

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

$_POST["email"] .">\r\n";

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

$headers .= "Return-path: ". $_POST["firstName"] . $_POST["email"];

$message = $_POST["message"] . $_POST["RSVP"];

?>

And on my flash they are all input text fields with variables, but i have no clue what to do with the radio buttons they are labled by group name RSVP but that is it.

Please Help.

Thanks
Mar 14 '07 #7
iam_clint
1,208 Expert 1GB
request the groupname $_POST




it should return the value.



if it doesn't you have to loop through it and check for if its checked.
Mar 14 '07 #8
What should that look like though? Cause i have it requested after the message one and it isnt working should it be its on line? and where should it go? should it be this:

<?php

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

$_POST["email"] .">\r\n";

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

$headers .= "Return-path: ". $_POST["firstName"] . $_POST["email"];

$message .= $_POST["message"];

$message .= $_POST["RSVP"];

?>

or this?

<?php

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

$_POST["email"] .">\r\n";

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

$headers .= "Return-path: ". $_POST["firstName"] . $_POST["email"];

$headers .= $_POST["RSVP"];

$message .= $_POST["message"];

?>
Mar 14 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Suzanne | last post: by
4 posts views Thread by Oscar Monteiro | last post: by
8 posts views Thread by David Cameron | last post: by
4 posts views Thread by Bernie | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.