Guest User

Untitled

a guest
Aug 16th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. How to include the ToC page in page counting on mPDF?
  2. Page - Subject
  3. 01 - Front
  4. 02 - Notes
  5. 03 - ToC <<<< Plz, note the page number
  6. 04 - First useful topic
  7. 05 - [Other]
  8.  
  9. First Useful Topic ............... 03
  10. [Other]........................... 04
  11.  
  12. First Useful Topic ............... 04
  13. [Other]........................... 05
  14.  
  15. $mpdf->TOCpagebreak();
  16.  
  17. $mpdf->WriteHTML('<pagebreak resetpagenum="4" suppress="off" />');
Add Comment
Please, Sign In to add comment