mrana — 2012-06-21T10:41:45-04:00 — #1
I am trying to retrieve the data from database and put in pdf using FPDF .Its okay for text box but I am not sure how to do check box or radio button.Can someone Please help me.Thanks in Advance.
marplo — 2012-06-21T12:13:27-04:00 — #2
To create easily PDF documents with PHP, you can use the "dompdf" class. It is free, you can find it on the net.
This class converts HTML document in PDF. So, just create your document with html code as you want, than apply the dompdf class.
mrana — 2012-06-21T12:21:25-04:00 — #3
But its not html document it has php code. ?I am not sure if I understand it correct.Thanks for the help.
marplo — 2012-06-21T14:27:58-04:00 — #4
With php you can generate html code. You can make the page you want for pdf with html, then use dompdf to create the pdf document.
See the examples /demo from dompdf class, or on this page: dompdf.