title: Does any one know how to break second page in mpdf?
body: <p>Does any one know how to break second page in mpdf. i am getting two PDF page but second one is blank so i want to remove that blank page.</p>
  
  <p>{
  
  <p>include_once("mpdf-master/mpdf.php");
  include_once('../../../../wp-load.php');</p>
  
  <p>$htm = get_template_directory_uri().'/admin/_invoice.php?id='.$_GET['id'];</p>
  
  <p>$html = file_get_contents("$htm");</p>
  
  <p>$mpdf=new mPDF('c'); </p>
  
  <p>$mpdf->debug = true;</p>
  
  <p>$mpdf->WriteHTML($html);</p>
  
  <p>$mpdf->Output();
  exit;</p>
  
  <p>?>}</p>
  
  <p>Thanks
  Sanket</p>