Multiple Radio Buttons


OliverB

OliverB

New Member
#1
Hi

Could someone please shead some light on my problem. I am trying to create a form with multiple choice radio buttons. What I'm after is 4 topics, 'Welcome', 'service', 'food' and 'decor' and the choices will be, excellent, good, average and poor for each. I have no problem with the html code but I can't seem to get my php script correct.

Here is my html code for the first 1;

<label>
<input type="radio" name="welcome" value="excellent" id="welcome_0" />
Excellent</label>
<br />
<label>
<input type="radio" name="welcome" value="good" id="welcome_1" />
Good</label>
<br />
<label>
<input type="radio" name="welcome" value="average" id="welcome_2" />
Average</label>
<br />
<label>
<input type="radio" name="welcome" value="poor" id="welcome_3" />
Poor</label>
<br />

Could someone please give me an example of how to write php script to make this work?

Thanks
 
Top