I'm trying to get mPDF number of pages to be saved in a php variable.
$mpdf->setHeader({"nb"});
Is there a way to get the value this outputs in php.
I want to save it in a variable.
I'm trying to get mPDF number of pages to be saved in a php variable.
$mpdf->setHeader({"nb"});
Is there a way to get the value this outputs in php.
I want to save it in a variable.
I realized {nb} cannot be modified with php because it gets its value when the pdf gets compiled.