Hi,
I have a file that generates a chart based on a data from my db, let's call it chart.php.
Then I have a main file that displays a data, main.php. This file displays a data based on the id I pass in URL. Due to some "header" problems I can include my chart like this:
echo "<img src=\"chart.php\"
Because it is echoed into my main page, how do I get it to graba data based on requested ID?