Form with radio button

zombiebitch

New Member
I have this:\[code\]<td> <input id="sex" name="sexFemale" value="http://stackoverflow.com/questions/3811107/female" type="radio"> <label for="sexFemale"> Kvinna </label></td><td> <input id="sex" name="sexBoth" value="http://stackoverflow.com/questions/3811107/both" checked="checked" type="radio"> <label for="sexBoth"> B?da </label></td><td> <input id="sex" name="sexMale" value="http://stackoverflow.com/questions/3811107/male" type="radio"> <label for="sexMale"> Man </label></td>\[/code\]I think I made this wrong, how should I use it?\[code\]$_POST["sex"]\[/code\] to get the value "male" or "female" or what they chosed
 
Back
Top