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

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