sandy1028 Posted October 30, 2007 Share Posted October 30, 2007 hi, I have to add the two sessions for the graph to get the tooltip point. I am passing the data in the function as parameter and drawing the graph. $val = RadarGraph($yesdate); array_shift($val); echo "<div style=\"position:absolute; left:100; top:468;\"><img src=\"radarinit.php?v1=$val[0]&v2=$val[1]&v3=$val[2]&v4=$val[3]&v5=$val[4]&v6=$val[5]&v7=$val[6]&v8=$val[7]\" border=0 usemap=\"#radar\"></div>"; session_start(); $xpoint = explode("%",$_SESSION["cx"]); session_destroy(); $val1 = RadarGraph($dbyesdate); array_shift($val1); echo "<div style=\"position:absolute; left:642; top:468;\"><img src=\"radarinit.php?v1=$val1[0]&v2=$val1[1]&v3=$val1[2]&v4=$val1[3]&v5=$val1[4]&v6=$val1[5]&v7=$val1[6]&v8=$val1[7]\" border =0 usemap=\"#radaryes\"></div>"; session_start(); $xpoint1 = explode("%",$_SESSION["cx"]); session_destroy() Depending on differnt date two graphs are drawn and cx is passed from radarinit file. How can i add two sessions to get the exact tooltip point. Quote Link to comment https://forums.phpfreaks.com/topic/75340-session/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.