php - How to use CodeIgniter dompdf for large dataset -


i'm generating pdf file in codeigniter using dompdf.but gives me blank out no errors. if pass limit query pdf gets generated remove limit query gives me blank output. same thing happens when used mpdf. can 1 me solution?

my code follows

function pdf_create_param($html, $filename, $stream=true)  {     require_once("dompdf/dompdf_config.inc.php");      $dompdf = new dompdf();     $dompdf->load_html($html);     $dompdf->set_paper("a3", "landscape" );     $dompdf->render();      if ($stream) {       $dompdf->stream($filename.".pdf");     } else {       return $dompdf->output();     } } 


Comments