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

使用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.

图片转代码服务由CSDN问答提供 功能建议

如何将MySQL数据库表内容导出到PDF文件。 它必须在网站上显示为 download / print data 。 当客户点击他/她必须打开PDF或使用php下载包含表格所有内容的PDF时的选项。

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

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条)

相关推荐 更多相似问题