|
Question:
question in php......<input type="radio" name="q2" value="1" />
here get the value usung by $v=$_POST['q2']; The Below a value set by the my database..... in html form. <input type="radio" name="<?php echo $row['qid'];?>" value="<?php echo $row['ans1'];?>" /> here how i get the radio value in php?
You have to know which radio will be selected by holding answer in some variable, for exmaple $givenanswer. Well if $givenanswer is empty - no problem, nothing will be selected
Vote:
Please vote! Your opinion matters!
If you haven't found what you've looking for, post a question
|
|