<?php
include('./phplot.php');
$graph =& new PHPlot();
$example_data = array(
array('a',3),
array('b',5),
array('c',7),
array('d',8),
array('e',2),
array('f',6),
array('g',7)
);
$graph->SetDataValues($example_data);
$graph->DrawGraph();
?>
When ever I run this program I get an error !The image "http://localhost/test.php" cannot be displayed because it contains errors.
I also have GD library enabled!
What is the error ?
Please help!