i'm running a service evaluation site and i want to give the administrator the ability to view evaluation results in form of graphs. my problem is different users may evaluate the same staff member (answers are between 0-5) and i need a way for this data to be summarised on the graph (averages).
currently i call the row as an array ($row = mysql_fetch_array), then use it in
$bplot = new BarPlot($row) but if there are multiple evaluations for a single staff member, it only displays the 1st evaluation results and leaves the rest.