I have a html page which contains a <div></div> section.
There is a link, I would like when someone click on the Link to generate a PDF which contains exactly the div section content.
How can I handle that in PHP or JavaScript?
I have a html page which contains a <div></div> section.
There is a link, I would like when someone click on the Link to generate a PDF which contains exactly the div section content.
How can I handle that in PHP or JavaScript?
There are several options, but TCPDF seems to be quite good.
Its a PHP class for generating PDF documents.
Good ratings on the web, and it looks like it's under active development as well. Worth having a look at.