MPdf. How to insert page brake using div
To insert a page break using a div in mPDF, you can use the CSS page-break-after or page-break-before property. This property specifies where to insert a page break. Here's an example of how you can do this: <div style="page-break-after: always;"> <!-- Content of the first page -->
</div>
<div> <!-- Content of the second page -->
</div> In this example, the