开发者

Creating an image in PHP using a MySQL resut set

Is there any way to create an image out of My开发者_JAVA百科SQL result set in PHP using GD Graphics Library?

I am ucrrently displaying the resultset in a table format in my PHP page.


You could try and convert your HTML generated result data as a pdf using TCPDF (it does have some basic HTML support). AFAIK there's no library that renders HTML and converts to an image at the same time.

If you HAVE to have an image instead, consider using GDs built in methods to render your data ... though this might be a PITA.

Good luck.


No, there is no way while displaying current resultset. Basic HTML knowledge is needed to use PHP.

Storing images in the disk directory instead of database is much easier to use and more reliable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜