LISTE DES ATELIERS, inscriptions en ligne A VALIDER

$lemax){ $malistec .= "".$lemax.""; $qd = "SELECT * FROM planning WHERE jour='".$lejour."' AND valid='1' AND online='1' ORDER BY jour, CAST(heure AS UNSIGNED)"; $resultd = mysqli_query($connect,$qd); while($row = mysqli_fetch_array($resultd)) { $qdz = "SELECT datehoraire FROM datesup WHERE cle='".$row['cle']."'"; $resultdz = mysqli_query($connect,$qdz); list($datehorairex) = mysqli_fetch_array($resultdz); $lemob = str_replace(" ","",$tablointervenant[$row['intervenant']]['mobile']); $lemob = str_replace(".","",$lemob); $lemob = str_replace("+33","0",$lemob); $dekmob = str_split($lemob, 2); $nummob = ""; foreach($dekmob as $valq){ $nummob .= $valq." "; } $malistec .= " ".$row['heure']." à ".$row['heurefin']." ".$tablointervenant[$row['intervenant']]['prenom']." ".$tablointervenant[$row['intervenant']]['nom']." ".$tablointervenant[$row['intervenant']]['email']." ".$nummob." Voir fiche ".$row['titre']." ".$row['description']." "; if($datehorairex!='') $malistec .= "".$datehorairex.""; } } ?>