rashmi_k28 Posted November 12, 2008 Share Posted November 12, 2008 $checklist=serialize($_GET['check_list']); echo "<img src=\"./linegraph.php?v1=".$checklist."&start=$start_dt&end=$end_dt\">"; When I call in linegraph.php as $ckecklist=$_GET['v1']; $param=unserialize($ckecklist); Please can you help me what is wrong in the Code: echo "<img src=\"./linegraph.php?v1=".$checklist."&start=$start_dt&end=$end_dt\">"; The image is not displayed when passing a query string. Link to comment https://forums.phpfreaks.com/topic/132391-query-string/ Share on other sites More sharing options...
zenag Posted November 12, 2008 Share Posted November 12, 2008 $checklist=urlencode(serialize($_GET['check_list'])); echo "<img src=\"./linegraph.php?v1=".$checklist."&start=$start_dt&end=$end_dt\">"; in linegraph.php $ckecklist=unserialize(urldecode(stripslashes($_GET['v1']))); Link to comment https://forums.phpfreaks.com/topic/132391-query-string/#findComment-688316 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.