I'm having problems with the mPDF library, I searched the internet for some tutorials but I did not solve my problem.
When I try to access the page from an error:
Error - mPDF requires mb_string functions. Ensure that PHP is compiled with php_mbstring.dll enabled.
My php page is programmed as follows:
include("../mpdf.php");
$mpdf=new mPDF('c');
$mpdf->WriteHTML($html);
$mpdf->Output();
exit;
Where i $html
is my written html.
How can I solve this problem? Are there other libraries to generate PDF easily and quickly?
I'm using centos to develop.