if(isset($_POST["submit_plot"])){
$checklist=$_POST['check_list'];
echo "<img src=\"./linegraph.php?v1=$checklist\">";
I have passed the checkbox value to linegraph.php in the image.
In Linegraph.php
$param=$_REQUEST['v1'];
The graph is not plotted.
The values passed from the checkbox to linegraph.php should be in the format
$param=array('bw','cpu','auser','gs','cnt','rj','mem','pkt','rtt','qj');
Depending on the value checked the $param should form an array.