?> </div> <div id="corps"> <div class="titre_corps"> <h3 class="centrer">Affecter une matière à un élève</h3> </div> <fieldset> <legend>Choisir un Élève</legend> <table> <tr> <td>Élève : </td> <td> <select id="eleve"> <option value=""></option> <?php $eleves = Eleve::getAllActif(); foreach ($eleves as $eleve){ echo "<option value='".$eleve->getIdEleve()."'>".$eleve->getLibelleUtilisatur().'</option>'; } ?> </select> </td> </tr> <tr> <td>Niveau : </td> <td> <select id="selectNiveau"> <option value=""></option> <?php $niveaux = Niveau::getAll(); foreach ($niveaux as $niv){