Hi
I met a problem; this is my code;
$domPdf = new Dompdf();
$domPdf->loadHtml('hello world');
$domPdf->stream();
This pdf can be generated, but it is empty; Is there anything i missed?
you first need to render the HTML as PDF using:-
$domPdf->render();
Most helpful comment
you first need to render the HTML as PDF using:-
$domPdf->render();