Re: how to access to session variable without <a href ?
| From: | Richard Lynch | Date: | Sat, 22 Sep 2001 04:35:00 +0000 |
| Subject: | Re: how to access to session variable without <a href ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68283@lists.php.net to get a copy of this message | ||
What is SID in graph.php? Cuz it should work...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Jacques <jocelyn@multimania.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Friday, September 21, 2001 8:35 PM
Subject: how to access to session variable without <a href ?
> 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
>
>