Code for radio button

newphpcoder's Avatar, Join Date: Sep 2010
Ambitious contributor
Good day!
I never used radio button. Now I need to add radio button in my webpage. Radio button 1 is mother and radio button 2 is child. Is it in my database it is only 1 field or separate field one for mother and one for child?
Kindly give me a code for radio button.
Thank you...
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
PHP does not have a Radio button and it is in HTML and so moved your thread to HTML forum

Use the following code

<INPUT TYPE="radio" NAME="">
kumarpyasa's Avatar
Hello dear
code for radio button
<input type="radio" name=""><p>

<input type="radio" name="">

Last edited by kumarpyasa; 22Mar2011 at 15:47..
pyasakumar's Avatar, Join Date: Apr 2011
Newbie Member
Hello dear
Code for Radio Button
<input type="radio" name="male">
<input type="radio" name="Female">