Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Disable your ad blocker to continue using our website.
Links for php scripts
Moderators: gesf, Michalio
- php-forum Active User
- Posts: 33
- Joined: Fri Jan 08, 2021 8:10 pm
According to i upload my mpdf to my real host on internet and try to print pdf out but i got fail at code below:
I dont't know why this code $mpdf = new \Mpdf\Mpdf(); cann't work it's print out only "01"
Code: Select all
require_once __DIR__ . '/vendor/autoload.php';
$mpdf = new \Mpdf\Mpdf();
You need to turn on errors so you can see what's actually failing. The first section in my article
will show you how to do that. That will point you in the right direction, or allow you to show us some more information and let us help you.