Learning PHP for beginners step by step. Handling radio button groups

Php

Video is ready, Click Here to View ×


Radio buttons allow users to choose only one of several options. This set of radio buttons at the bottom of contact.php in the ch10, 10_02 folder of the Exercise Files has three options. Although it’s common to set a default value by adding the checked attribute to one of the buttons, it’s not obligatory. So if I load this file into a browser, the radio buttons are down at the bottom and no button is selected. It’s only if the user selects one of these options that the radio button group…

Leave a Reply

Your email address will not be published. Required fields are marked *