Radio button selection problem in php 2011-12View more random threads:
- Find the smallest number using while loop in java 2011
- Php Transaction 2011
- PHP include instead of iFrame 2011
- How to make friends linking process page with php?
- Php and mysql Learning for biggners should start with...
- Progroming compition and challenges in pakistan 2011
- checkbox and mysql in php 2011
- what are the latest updates for Mysql May 2011
- My First PHP Script 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.
Sponsored Links
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
There are currently 1 users browsing this thread. (0 members and 1 guests)