Due to my website containing both images and text, I was forced to implement JPGraph using <img src="myscript.php"> However, my only issue is that I can't send values to it. The graph shows the average age of a football team over time and dynamically updates using a MySQL database. However, the graph is to used for many different football teams and I thought I could just use:
mysql_query("SELECT * FROM graph_data WHERE team_id=$team_id");
Because my script is external, is there anyway to get the $team_id variable from index.php into the external script (myscript.php)? If it can, then all my issues will be solved. Thanks in advance.