function showPlanCadreElaboration() { $list = selectPlanCadreElaboration(); echo "<select name='plan_cadre_elaboration_list' id='plan_cadre_elaboration_list'>"; echo "<option value=\"" . "\">" . "</option>"; if (sizeof($list) > 0) { foreach ($list as $row) { echo "<option value=\"" . $row["No_PlanCadre"] . "\">" . "(" . $row["DateAjout"] . ")" . " " . $row["CodeCours"] . " " . $row["NomCours"] . "</option>"; } } else { echo "<option>" . "Aucun cours" . "</option>"; } echo "</select>"; }
function showPlanCadreElaboration() { listerPlanCadre(selectPlanCadreElaboration(), 'plan_cadre_elaboration_list'); }