How do I get the page number in the footer to appear on all pages? I have briefly the code below, but the way it is, the page number only appears on the last page, how can I make it appear on all pages?
$mpdf = new mPDF(
'', // mode - default ''
'', // format - A4, for example, default ''
0, // font size - default 0
'', // default font family
15, // margin_left
15, // margin right
58, // margin top
60, // margin bottom
6, // margin header
0, // margin footer
'L'); // L - landscape, P - portrait
$mpdf->SetDisplayMode('fullpage');
$footer = "<table width=\"1000\">
<tr>
<td style='font-size: 18px; padding-bottom: 20px;' align=\"right\">{PAGENO}</td>
</tr>
</table>";
$mpdf->SetHTMLFooter($footer);
$mpdf->Output();