Show all posts by user
Use this forum if you have issues or you want to discuss about the JS Charts.
Re: to dynamically populate bar chart - 13 years ago
I was finally able to get PHP to output the Javascript necessary to generate a graph. Here's the gist. 1. Have PHP echo the first portion of javascript. echo '<script type="text/javascript"> '; echo 'var myData = new Array('; 2.Build your query statement. ie. $Get=mysql_query("Select * from table where something=something) 3. Get the count. ie. $count=mysql_num_rows(by user505841 - Discussions & Support