I am creating a report page via XHTML, have option to view the form and would like to add a button to download this form as a PDF.
I was trying to use DomPDF to do this, but a php page appears with the codes rather than a PDF.
I am creating a report page via XHTML, have option to view the form and would like to add a button to download this form as a PDF.
I was trying to use DomPDF to do this, but a php page appears with the codes rather than a PDF.