Good afternoon, I know that my question is not very clear, but in this section I will explain myself better, it happens that I have a table that looks like this
but I want the radio input to be in all rows, this is my code:
echo "<table class='table table-hover'>
<tbody>";
while($alum = mysql_fetch_assoc($res2)){
echo "<tr>
<th>".$alum['nombre_completo']."</th>";
while($asis = mysql_fetch_row($res)){
echo "<td> <input type='radio' name='asistencia' id='asistencia' value='".$asis[0]."'><strong> ".$asis[1]."</strong></td>";
}
echo "</tr>";
}
echo "</tbody>
</table>";
the while inside is only executed once and it is logical in my opinion, but I want to know how to do so that every time you start the first while the inner while is executed, as many times as the first while is executed, I hope I have expressed my best, thank you very much.