Radio button selection problem in php 2011-12View more random threads:
- Difference between mysql and mysqli 2011
- php basic tags to start with
- Php and mysql Learning for biggners should start with...
- Radio button selection problem in php 2011-12
- checkbox and mysql in php 2011
- what is factorial language?
- php lectures in urdu of Virtual University of Pakistan 2012
- how can Animate your images in PHP 2011-12
- Converting HTML to Excel in php 2011
- Variables in function names in php 2011
.Hi guys, I have a problem on getting the selected radio button and save it in the database.
ER -->Code:<div id="container"> <div id="question1" style="display: inline;"> <p>Question 1</p> <ul> <li><input type="radio" name="q1" value="1" id="ans1" />Answer 1</li> <li><input type="radio" name="q2" value="2" id="ans1"/>Answer 2</li> <li><input type="radio" name="q3" value="3" id="ans1"/>Answer 3</li> </ul> </div> <div id="question2" style="display: none;"> <p>Question 2</p> <ul> <li><input type="radio" name="q1" value="1" id="ans2" />Answer 1</li> <li><input type="radio" name="q2" value="2" id="ans2"/>Answer 2</li> <li><input type="radio" name="q3" value="3" id="ans2"/>Answer 3</li> </ul> </div> <div id="question3" style="display: none;"> <p>Question 3</p> <ul> <li><input type="radio" name="q1" value="1" id="ans3" />Answer 1</li> <li><input type="radio" name="q2" value="2" id="ans3"/>Answer 2</li> <li><input type="radio" name="q3" value="3" id="ans3"/>Answer 3</li> </ul> </div> </div><!-- END OF CONTAIN
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)