Hi!

I am creating a simple website, and I would like to have an option on one page to print the contents of the page by clicking a button, or seeing it in PDF format by clicking another. What is the simplest way of doing this?

Mladen

Member Avatar for diafol

I use the ezPdf class from:

http://www.ros.co.nz/pdf/

I think pHp has some pdflibs in the PEAR/PECL repository, but I found the ezPdf really easy.

I got into this when reading Web Database Applications with PHP and MYSQL by Williams and Lane (2004) from O'Reilly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.