1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
if(isset($_POST["idList"]) && $_POST["idList"]!=''){
echo $_POST["idList"];
$temp = listeColonne2('groups','gid='.$_POST["idList"],'gid');
if($temp[0][1]=="Etudiant") {
$idGroupeEtudiant=$temp[0][0];
?>
<span>Formation : </span>
<select name="formation" id="formation" onchange="go('formation','div_promotion')">
<OPTION value="" selected>--- Choisissez la formation ---
<?php
$listeformation = listeColonne('formation','intitule_formation');
for($i=0;$i<count($listeformation);$i++) {
?>
<option value='<?php echo $listeformation[$i][0]; ?>'><?php echo $listeformation[$i][2]; ?></option>
<?php
}
?>
</select>
<div id='div_promotion' style="margin-top:10px;">
</div>
<?php
} |
Partager