Are you using PHP? 'Cos there is no way our going to get the radio buttons appear on the screen without the echo statement. You code above is going to go into an infinite loop, provided of course you put in a loop statement in the first place.
Also the way you have created the radio buttons with different names, will be in such a way that you can select all the radio buttons at a time.
Enough of my criticism, coming down to the actual code part.