Radio button selection problem in php 2011-12View more random threads:
- New version of xampp mysql is not working on windows 7 in...
- Progroming compition and challenges in pakistan 2011
- PHP with Javascript in cron 2011
- All php scripts for 2011 online
- regular expression
- Converting HTML to Excel in php 2011
- Difference between mysql and mysqli 2011
- Php and mysql Learning for biggners should start with...
- Variables in function names in php 2011
- Radio button selection problem in php 2011-12
.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)