$lejour){ $malistec .= " • ".$lejour." 2019"; $qd = "SELECT * FROM planning WHERE onoff='0' AND jour='".$clef."' AND valid='0' ORDER BY jour, CAST(heure AS UNSIGNED)"; $resultd = mysqli_query($connect,$qd); while($row = mysqli_fetch_array($resultd)) { $malistec .= " ".$row['heure']." à ".$row['heurefin']." ".substr($lejour,0,-10)." ".$tablotheme[$row['theme']]." ".$tablointervenant[$row['intervenant']]['prenom']." ".$tablointervenant[$row['intervenant']]['nom']." ".$tablolieux[$row['lieu']]." ".$row['titre']." ".$tablotypeinsc[$row['type']]." ".$row['description']." "; } } ob_start(); ?>
TERRE DE CONVERGENCE - AGENDA 2019
pdf->SetAuthor('Terre de Convergence'); $html2pdf->pdf->SetTitle('Agenda 2019'); $html2pdf->pdf->SetSubject('Planning des interventions'); $html2pdf->pdf->SetKeywords('Terre de Convergence'); $html2pdf->setDefaultFont('helvetica', '', 14); $html2pdf->pdf->SetDisplayMode('real'); $html2pdf->writeHTML($content); $html2pdf->Output("../pdf/agenda_a4.pdf", "F"); } catch(HTML2PDF_exception $e) { echo $e; exit; } header("location: pdfs.php"); //readfile('../pdf/agenda_a4.pdf'); ?>