mPDF results from PHP with variables via buffer
问题 Cannot seem to get this to work, everything from the buffer is showing but no PDF generated, if its all in the php as $html = 'Hello World' it generates fine? -- REVISED QUESTION -- included example code to display certificate background image in generated PDF - results are blank PDF... screen shot of div.php run by itself. -- REVISED ENTIRE CODE EXAMPLE -- <?php error_reporting(E_ALL);?> <?php include $_SERVER['DOCUMENT_ROOT'].'/TestCert/mpdf/mpdf.php'; $mpdf=new mPDF(); //include ('div.html