I have been trying to create a graph using data taken from my database. The data is from 3 selected rows, each row has 4 columns. Here is the code:-
$query=mysql_query("SELECT * FROM profilereport WHERE profilereport.profilereportid=$value");
foreach($_SESSION['rows'] as $row)
for($x=0; $x<4; $x++) //test echo results to screen
The graphing program I am using is JpGraph and trying to implement the following code and graph:-
Test suite for JpGraph - new_bar1.php
My question is, how do I take the data from my array and use it to create the graph?
Any help/suggections would be greatly appreciated