I used the following code but getting the error as "fatal error allowed memory size of bytes exhausted (tried to allocate bytes)".
include 'mpdf60/mpdf.php';
ob_clean();
$abc=new mPDF();
$temp=//some html code
$final=$temp;//.
$abc->WriteHTML($final);
$abc->Output();
exit();
My output having bunch of records. its not getting all the records on the pdf. How can I do it?