Hoping someone can help me with a problem I having with drawing a line graph with gd php mysql
Am trying to draw a simple line graph getting data from a MySQL database. attached is the code:-
I just get lots of rubbish characters on the screen. If I echo the contents of the fetched data it is correct and if I echo the $x2 and $y2 the data looks fine.
Am at a loss!
Any ideas would be appreciated.
This is the page: www.inshome.net.au/test.php
graph.php