1 year ago
#280999
Alex
html2pdf Call to a member function getParam() on null
Good day everybody! Had downloaded html2pdf library. Simple test works ok!
require __DIR__.'/vendor/autoload.php';
use Spipu\Html2Pdf\Html2Pdf;
$html2pdf = new Html2Pdf();
$html2pdf->writeHTML('This is my first test');
$html2pdf->output();
but when I tried to convert real html
$html2pdf->writeHTML($html);
I got this http://joxi.ru/EA4GObPUXP0Wy2 I really need to have this code worked. Please help
php
html
html2pdf
0 Answers
Your Answer