I am trying to get the value from the radio boxes/button with php.
The server only supports PHP.
I did the code in asp.net(C#) tried to test found server does not support asp.net.
The create same questionnaire in JavaScript. Now finding out some of external clients are using browser date back to IE 7. So need to re-code in php
All radio box have numeric values
example:<label>
<input type="radio" name="experiencebx" value="5" id="experiencebx_0"/>
Brand New</label>
<label>
<input type="radio" name="experiencebx" value="10" id="experiencebx_1"/>
Less than 2 years</label>
<label>
<input type="radio" name="experiencebx" value="15" id="experiencebx_2"/>
2-5 years</label>
<label>
<input type="radio" name="experiencebx" value="20" id="experiencebx_3"/>
5-10 years</label>
<label>
<input type="radio" name="experiencebx" value="30" id="experiencebx_4"/>
10+ years</label>
how do I loop through and grab the value and
total at the bottoms.
Second question is
How to pass the total to a second page make a subtotal to add that number to the final total.
in ASP.net I can store the number in a session.
Last question:
Take the text of the selected radio button/boxes and the select radio button/boxes value email them to me.
I really, really, need some help.
for question one:
use $_POST[“experiencebx”] to get the value selected.
for question #2:
use a session with $_SESSION[“var”] = “value”;
for question #3:
use the mail function:
http://php.net/manual/en/function.mail.php