Im trying to modify a script from ChartDirector 3.1, the original script created a chart based on a year selected from a user, i wanted to mod this so it would compare two different countrys stats. The problem is when i hit the submit button from select.php the values of the two countrys is not picked up by graph.php. I think i've narrowed it down to the if else statments on graph.php , here--
$SelectedYear = $_GET['year'];
$SelectedYear = 2004;
$country1 = $_GET['country1'];
$country1 = 'Australia';
$country2 = $_GET['country2'];
$country2 = 'Brazil';
the first (and original if stat) works fine 'getting' the year selected, but the country1 and 2 vars are not getting set from the form on select.php and thus only comparing info on australia and brazil.
The address bar shows (example) ....select.php?year=1997&country1=Austria&country2=Argentina
echo $_GET["country1"];-- shows nothing on graph.php - but shows correct on select.php
echo $_GET["country2"];-- shows nothing on graph.php - but shows correct on select.php
can any one help.