PHP to transfer data from Database to PDF file?
By felelis
@felelis (96)
Thailand
3 responses
@9872452 (40)
• Malaysia
27 May 09
To create a PDF file you need a working installation of Apache, PHP and mySQL. You can use WampServer for Windows if you using Windows for testing your project.
Here is article on creating pdf on the fly using php_pdf.dll extension library:
http://www.devarticles.com/c/a/PHP/Use-PHP-to-Create-Dynamic-pdf-Files/1/ .
I suggest you go to FDPF website: http://www.fpdf.org . This is a PHP class library for creating PDF. There are many example scripts at the website. This website is good for start. Many people expands this PHP class into a very usable class library such as HTML2FPDF.