I made a table on the data sheet using the codes on SQL server this was not much tough but now I need to generate the radio button on it. I search a lot about this finally I decided to take help from order essays they share a full page of codes made on this with me or I did this.
If you using MySQL database and set default male and female in you table column so it will be easy and simple I will show you.
Open MySQL database and select your table and open it and go to structure menu and click change option, which field you change. Now set data type ENUM and set value “M”,”F”.
Database -> Table -> Structure -> Change -> Give Type -> Give Value
If you add a new column into the database for gender so click Structure menu and go to below and add 1 column and set position, there have many position after and before column name. You can choose one and click GO button. Now give name and set type ENUM and set value “M”,”F”. If you do not choose any option from your from or you submit blank text so it will automatically take M in you database.
Database -> Table -> Structure -> Go to below -> ADD 1 -> Choose Position After or Before any column name -> Go -> Give Name -> Set Type ENUM -> Give Value “M”,”F”
I think it will be help for you.