MacFly 0 Report post Posted November 10, 2004 I've got a script that generates a graph by creating it as a .png file (I can't output the image directly to the browser because of the way I need to generate the data).This all works ok however, in order to keep the data managable I've set a limit so that it only displays 12 months data at a time. The problem I have is that when I click on the next button to display the next set of data, the graph remains the same until you refresh the browser.I've tried using unlink() to delete the image file forcing the script to re-generate it when the script is reloaded but it doesn't seem to delete the file.The code is fairly lengthy so haven't displayed it here.Any suggestions? Share this post Link to post Share on other sites
LuciferStar 0 Report post Posted November 16, 2004 please check your data,and also your code. Share this post Link to post Share on other sites