I created a .png and a .jpg, both that pulled data from a database and displayed a graph according to the results.
Next, I took the database calls and put them in a seperate file, thinking I could just do:
header ("Content-type: image/png");
include("database_calls.php");
imgcreate($im);
But, as soon as I put an include I get a broken image. Is it even possible?
Take care,
... Christopher @ Snowburst Technology Group