dongshijiao6890 2013-05-17 08:45 采纳率: 0%
浏览 185
已采纳

使用php将mysql数据库表内容导出到PDF文件

How to export MySQL database table contents on to a PDF file. It has to be displayed in the website as download/print data. When the customer click on that he/she has to get the PDF opened or an option to download the PDF with all the contents of the table using php.

  • 写回答

4条回答 默认 最新

  • dongmei9203 2013-05-17 08:49
    关注

    Take a look at http://www.tcpdf.org/. I never heard about out of box way to print mysql table data into PDF, but with TCPDF you can programmatically build a PDF file with table filled with data inside it. It also allows to output document created on the fly easily into a browser.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?