• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iam trying to create a pdf from html using dompdf with codeigniter

#1
[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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.