pdf generation - Print webpage as PDF in PHP -
I'm newbie to php
I have developed small applications in PHP. There are some label controls in the webpage. That's what I want to save in PDF, is it any device like Extex (ASPN.NET), where I can export the form to a panel or PDF. (By rendering)
I examined the FPDF and others in it we can print the text My label data is coming from MYSQL
Any suggestions.
I suggest that mpdf I'ts is very simple, you make your html string as And can present it in the form of a PDF.
need_once ("mpdf / mpdf.php"); $ Html = "& lt; p & gt; Hello World & lt; / p & gt;"; $ Mdf = new mdff ('c', 'a4'); $ Mpdf- & gt; WriteHTML ($ HTML); Print $ mdf-> output ();
Comments
Post a Comment