Radio Buttons and Checkboxes Not posting
Hello everyone,
I am hoping some PHP expert out there can help this newbie with the problem I am having.
I have a form with textfields, checkboxes, and radio buttons. These value are submitted using the POST method to another php page. The problem is if a checkbox is not checked or a radio button in a group is not selected, then nothing shows up in the corresponding $_POST array. By nothing I mean the checkbox or radio button name is not present in the array. I don't understand this.
Here is how I am creating the checkboxes and radio buttons.
<INPUT type=RADIO name=\"q1\" value=\"2\">2
<INPUT type=RADIO name=\"q20\" value=\"Yes\">Yes
Any help with this problem would be greatly appreciated.