I have PHP file that generate a report from the database, and I want this page to be converted into PDF File, so I can be save and print. How to convert web page to PDF? Is there any tool available or a PHP script?
I have PHP file that generate a report from the database, and I want this page to be converted into PDF File, so I can be save and print. How to convert web page to PDF? Is there any tool available or a PHP script?
I’ve used Kartik’s Mpdf
demo page
You can use browser plugin/addons to do it. In chrome you can use "Save as PDF" or "Print Friendly & PDF".