0

hello all,

Please get me a way to export all contents of a table in mysql database to a PDF file and it can be downloadable and can be printed from the website.. please provide some sample code. it is very much urgent for me.

plz help

2
Contributors
1
Reply
3
Views
8 Years
Discussion Span
Last Post by digital-ether
0

hello all,

Please get me a way to export all contents of a table in mysql database to a PDF file and it can be downloadable and can be printed from the website.. please provide some sample code. it is very much urgent for me.

plz help

There are quite a few PDF libs for PHP.

http://www.fpdf.org/
http://php.net/pdf

You can also instruct a PDF generation library to do what you want from PHP via the command line.

http://www.pdflib.com/

You can do this using exec() or similar functions in PHP.

There have been many forum posts on generating PDF:
http://www.daniweb.com/search/search.php?q=php+pdf

same goes for MySQL.
http://www.daniweb.com/search/search.php?q=php+mysql

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.