PHP Radio button array example
In this article,I will explain how to use Radio buttons in php.


Example:
<?php
if(isset($_POST['Submit'])){
$radioValue = $_POST['radio'];
}
?>
<HTML>
<HEAD>
    <TITLE> PHP Radio button array example </TITLE>
 </HEAD>
<BODY>
     <TABLE id="table_Id"  border="1">
        <TR>
            <TD><input type="radio" name="radio" value="1"/></td>
            <TD><input type="radio" name="radio" value="2"/></td>
             <TD><input type="radio" name="radio" value="3"/></td>
           <TD><input type="radio" name="radio" value="4"/></td>
           </TR>
<TR><td colspan=4 align=center><INPUT type="submit" value="Submit"> </td> </TR>
    </TABLE>
 /BODY>
</HTML>