how to access to session variable without <a href ?
| From: | Jacques | Date: | Sat, 22 Sep 2001 01:35:37 +0000 |
| Subject: | how to access to session variable without <a href ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68234@lists.php.net to get a copy of this message | ||
I'm using php4 with session
I have a session variable
$TABLE[1]=100;
$TABLE[2]=150;
$TABLE[3]=200;
My problem is I have a mysql database where I pull out data and put them
into the the session variable
With these data, I want to generate a graph.
if I access to a different page (or link) through <a href=page.php?SID=$SID>
I can see the content of $TABLE. No problem then.
whereas if I use <img src='graph.php?SID=$SID'>, I cannot have $TABLE
content. it's empty.
Does someone know a way a have the content within the page.
Basically, I don't want to send the values of my data in the url such as
<img src='graph.php?SID=$SID&value1=100&value1=150&value1=200'>
I will appreciate any help.
Thanks a lot,
Jacques