here is the section of code for the radio buttons
while($row1 =mysql_fetch_array($OptionResult))
{
if ($row[exclusive]==1){
echo "<tr><td>";
$optionname="Option".$row1[0];
echo "<input type='radio' value='".$optionname."' name='".$row[CategoryName]."'>".$row1[3];
echo "</td></tr>";
}
else
{