SalientAnimal Posted May 13, 2014 Share Posted May 13, 2014 Hi All, So phpMyAdmin can generate quite nice graphs, and I was wondering if it is possible to have these graphs pull through into a PHP page? Quote Link to comment https://forums.phpfreaks.com/topic/288463-display-phpmyadmin-graphs-on-php-page/ Share on other sites More sharing options...
Psycho Posted May 13, 2014 Share Posted May 13, 2014 (edited) "pull through"? If you want those graphs you would need to reverse engineer the code to figure out what code is being used to create the graphs and then implement that in your pages. Or, build your own graphs. A very poor hack would be to use some sort of scraping of the MySQL pages to copy the code out, but it would probably open you up to potential malicious issues and could even be more complicated than just doing it the right way. Edit: There *could* be some sort of API built into MySQL that I am not aware of, but I doubt it. Edited May 13, 2014 by Psycho Quote Link to comment https://forums.phpfreaks.com/topic/288463-display-phpmyadmin-graphs-on-php-page/#findComment-1479349 Share on other sites More sharing options...
Solution Ch0cu3r Posted May 13, 2014 Solution Share Posted May 13, 2014 according to the phpMyAdmin wiki it uses pChart for creating the graphs. Quote Link to comment https://forums.phpfreaks.com/topic/288463-display-phpmyadmin-graphs-on-php-page/#findComment-1479353 Share on other sites More sharing options...
SalientAnimal Posted May 14, 2014 Author Share Posted May 14, 2014 Thanks guys, going to do some more reading on this. Posted this thread just before leaving the office yesterday afternoon. Quote Link to comment https://forums.phpfreaks.com/topic/288463-display-phpmyadmin-graphs-on-php-page/#findComment-1479421 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.