I have a code with which I intend to make a teaching evaluation. I need users to be able to select only one rating for each name and not several as in the following example with "juan hernandez".
This is the code I have
<table class="table table-bordered">
<tr>
<th>Docente</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
</tr>
<tr>';
// $mostrando_docentes=mysqli_fetch_array($mostrar_maestros);
while ($mostrando_docentes=mysqli_fetch_array($mostrar_maestros)) {
echo '<td>'.$mostrando_docentes['Nombre']." ".$mostrando_docentes['ApellidoP']." ".$mostrando_docentes['ApellidoM'].'</td>
<td><input type="radio" name="respuesta" ></td>
<td><input type="radio" name="respuesta1" ></td>
<td><input type="radio" name="respuesta2" ></td>
<td><input type="radio" name="respuesta3" ></td>
<td><input type="radio" name="respuesta4" ></td>
</tr>
';}echo'