Code : Tout sélectionner
<form action="index.php?action=listeAppartenance" method="POST">
<table border= '1' bordercolor = 'red' cellpadding = '5' width = '80%' align = 'center'>
<tr> <th>Code</th>
<?php while ($row = $resultat -> fetch()) { ?>
<tr>
<td><a href='./index.php?action=detail&CodeEtudiant=<?php echo $row[0] ?>'>
<?php echo $row[0] ;?>
</a></td>
</tr>
<?php }?>
</table>
<label>Nombre d'étudiants par groupe : </label>
<input type="number" name="nb"/>
<input type="submit" value="affecter à un groupe"/>
</form>Aidez-moi SVP et merci d'avance !