Arvin,
First off, radio buttons in HTML work in a specific way: all of the radio buttons with the same name will act as a group, that is, you can have only one of them selected at a time. In your example, however, all of the buttons have a different name ("id1", "id2", etc.), so they're not going to act as a group. Try it out in your browser (put those lines in some file.html) to see what I mean. However, if you give them all the same name, e.g. name="id", then they'll act as a group, Then PHP will read the value of the button selected through the variable $id. So if the user were to click on the first radio button and that button had value="1", then $id would return 1. Make sense?