[eluser]dinisptc[/eluser]
iam trying to create a pdf from html using dompdf with codeigniter
here is my code :
Code:
$this->load->library('pdf');
$html=$this->load->view('reports_html/couver1','',true);
$html.= $this->load->view('reports_html/reportContentImageLeft','',true);
$this->pdf->load_html($html);
$this->pdf->render();
i am trying to save in the pdf file the two html pages, the problem is that only the first page is saved on the pdf file , the second is gone