mPDF hyperlink to internal page number

62 Views Asked by At

Is it possible to create a hyperlink to specific page without using the name attribute? I'm trying to create a link without anchors. Something like:

$mpdf = new Mpdf($mpdfOptions);
$mpdf->WriteHTML('<a href="#page=2">Go To Page 2</a>');
$mpdf->AddPage();
$mpdf->WriteHTML("Content for page 2");    
$mpdf->Output();
0

There are 0 best solutions below