I want to determine which radio button is checked...This is how I populate my list of radio buttons:
$sql="SELECT * from intrebari where cod_chestionar='".$_SESSION['cod']."' ";
$result=mysql_query($sql);
echo "<br><br>";
echo "<table border='1'>";
while($row=mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>";
echo "<input type='radio' name='intrebare' value=''>";
echo $row[denumire_intrebare];
echo "<br>";
echo "</td>";
echo "</tr>";
}
echo "</table>";
Now let's say this brings me a list of 4 elements. How do I find out which radio buttons are checked. If is the first one or the second or... .