I am currently trying Mpdf, installed it using composer and created a simple code. Here it is
<?php
require_once 'vendor/autoload.php';
$mpdf = new \Mpdf\Mpdf();
$mpdf->WriteHTML("<h1 style='color:red'>Hello world!</h1>");
$mpdf->Output();
?>
It successfully loaded once then it doesnt load more. I am loading it via XAMPP. Thankyou so much. Hope someone helps me.
Where is the part where it actually writes to a file
for example, this is the html