
I tried to use the html2pdf class and opened a test file, but the test file is after open it (in browser) empty in the source, but the file is filled with this text:
<?php $content = " <page> <h1>test</h1> <br> Ceci est un <b>exemple d'utilisation</b> de <a href='http://html2pdf.fr/'>HTML2PDF</a>.<br> </page>"; require_once('inc/html2pdf.class.php'); $html2pdf = new HTML2PDF('P','A4','fr'); $html2pdf->WriteHTML($content); $html2pdf->Output('exemple.pdf'); ?>
i hope anybody help