使用MySql数据在PHP中生成Pdf报告 [英] Generate Pdf Report in PHP with MySql Data

查看:85
本文介绍了使用MySql数据在PHP中生成Pdf报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何用PHP中的Pdf报告显示数据。

这些数据来自MYSql数据库。

请帮我解决这个问题。

How to display data in Pdf Report in PHP.
This data is coming from MYSql Database.
Please help me out from this problem.

推荐答案

查看以下链接

http://answers.oreilly.com/topic/1414-how-to-generate-a-pdf-with-php/ [ ^ ]

http://fpdf.de/downloads/addons/30/ [ ^ ]

http://www.weberdev.com/get_example.php3?ExampleID=3720 [ ^ ]

F-使用-fpdfmysql及PHP报告生成-http://yuvrajingale.wordpress.com/2013/09/10/pdf-report-generation-using-fpdfmysql-and-php/ [ ^ ]
check below links
http://answers.oreilly.com/topic/1414-how-to-generate-a-pdf-with-php/[^]
http://fpdf.de/downloads/addons/30/[^]
http://www.weberdev.com/get_example.php3?ExampleID=3720[^]
http://yuvrajingale.wordpress.com/2013/09/10/pdf-report-generation-using-fpdfmysql-and-php/[^]


这个pdf报告问题已经解决。

现在我的数据中有一些HTML标签就像< br> < li>

我使用html2fpdf插件生成报告。

我想以正确的html格式显示此文本。如何显示此文本。

这是我的内容
this pdf report problem is solved.
Now in my data there are some HTML tags are coming like <br> <li>
I am using html2fpdf plugins for generating report.
I want to display this text with proper html format .How can I display this text.
This is my content


pdf-> Cell(10,10,
pdf->Cell(10,10,


这篇关于使用MySql数据在PHP中生成Pdf报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆