Click here to Skip to main content
16,015,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i have created two radio buttons having value yes and no using Html.my code is
HTML
<table><tbody><tr><td width="150"><input type="radio" id="radio3" name="cdplayer" checked/>Yes</td></tr></tbody></table>
<table><tbody><tr><td width="150"><input type="radio" id="radio4" name="cdplayer"/>No</td></tr></tbody></table>

please help me, how can store vale yes or no in database
Posted
Updated 27-Jun-12 21:16pm
v2

1 solution

Your UI design is pretty odd - having two tables to show the two radio buttons.

Look at these on how to design and pass it on to server:
Insert Value From Radio Button in MySQL in PHP[^]
PHP Tutorials: Radio Buttons[^]

Try out!
 
Share this answer
 
Comments
Vibha Saurav Kumar 28-Jun-12 3:35am    
Thanx a lot....It works....
Sandeep Mewara 28-Jun-12 4:10am    
Welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900