如何在php中从mysql数据库生成图形和图表

How to generate graphs and charts from mysql database in php(如何在php中从mysql数据库生成图形和图表)
本文介绍了如何在php中从mysql数据库生成图形和图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

如何使用php从mysql数据库中生成图形和图表?

我正在尝试使用chart Director",但我什至无法正确安装它,因为我使用的是 php 5.3 版,并且它使用的是已弃用的函数 dl.

I'm trying to use "chart director" but I can't even install it properly, because I'm using php version 5.3, and it's using a deprecated function dl.

您是否知道以下任何替代方案:

Do you know of any alternatives that:

  • 完全支持 php 5.3
  • 易于初学者使用
  • 可以访问mysql数据库并绘制其数据

推荐答案

可以使用JPGraph和Graphite

You can use JPGraph and Graphpite

http://jpgraph.net/

http://graphpite.sourceforge.net/

这篇关于如何在php中从mysql数据库生成图形和图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Uploading Image from android to PHP server(将图像从android上传到PHP服务器)
Sending file together with form data via ajax post(通过ajax post将文件与表单数据一起发送)
Laravel - validate file size when PHP max upload size limit is exceeded(Laravel - 超过 PHP 最大上传大小限制时验证文件大小)
How to upload file through Jquery/AJAX(如何通过 Jquery/AJAX 上传文件)
PHP: move_uploaded_file() failed to open stream: No such file or directory(PHP:move_uploaded_file() 无法打开流:没有那个文件或目录)
Creating a file progress bar in PHP(在 PHP 中创建文件进度条)