Jump to content

Session


sandy1028

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/75340-session/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.