Radio button selection problem in php 2011-12View more random threads:
- Undifned index upgrade from php4 to php5 2011
- Php and Mysql new script of Auto Tweet Script 2011
- New version of xampp mysql is not working on windows 7 in...
- The required PHP extension MySQLi could not be found....
- checkbox and mysql in php 2011
- what are the latest updates for Mysql May 2011
- Php and mysql Learning for biggners should start with...
- PHP with Javascript in cron 2011
- php and mysql lectures online in Pakistan for free 2011
- Cookies between too linked files 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)