$valeur) { $$index = Database::escape_string(trim($valeur)); } ?>
"; if ($i % $nbcol == 0) { $sqlexam = "SELECT * FROM set_module WHERE cal_name = '$d_title'"; } $resultexam = Database::query($sqlexam); while ($a_exam = Database::fetch_array($resultexam)) { $name = $a_exam['cal_name']; $id = $a_exam['id']; $num = $a_exam['cal_day_num']; $c_date = $a_exam['cal_date']; echo " "; if ($i % $nbcol == ($nbcol - 1)) { echo ""; } } $nb = count($d_number); $nbcol = 2; ?> />