-
1. Re: Radio Buttons w/ Multiple Values on a PHP Form
David_Powers Feb 22, 2010 11:20 AM (in response to pbsum83)No, a radio button can have only one value.
Use conditional logic in your processing to assign the price.
switch ($_POST['option') { case 'Cotton': $price = 10; break; case 'Suede': $price = 15; break; default: $price = 20; } -
2. Re: Radio Buttons w/ Multiple Values on a PHP Form
David_Powers Feb 22, 2010 11:42 AM (in response to David_Powers)I have just noticed that you posted an identical question in the main Dreamweaver forum, but didn't have the courtesy to mark this question as answered. Thanks for wasting my time.
Please do not post the same question in more than one forum. If you do, have the decency to follow up in all forums to say that your question has been answered.
-
3. Re: Radio Buttons w/ Multiple Values on a PHP Form
pbsum83 Feb 22, 2010 11:45 AM (in response to David_Powers)I didn't mark it answered because it wasn't. You actually answered my question correctly though, which I really appreciate. Thanks a lot! I posted the same thing on both forums, because I figured I would get more response, which is exactly what happened. Sorry if I hit a sensetive spot, but had I marked that thread as answered, I wouldn't have recieved your answer, which is much more what I was looking for.
Thanks, and have a great day.
Paul
-
4. Re: Radio Buttons w/ Multiple Values on a PHP Form
David_Powers Feb 22, 2010 11:51 AM (in response to pbsum83)Please take a moment to read How to get help quickly.
You'll make life a lot easier for yourself and others if you stick by the suggestions there: don't post the same question in duplicate forums, keep a thread to a single subject, and mark threads as answered when you get the help you were looking for.


