Re: how to access to session variable without <a href ?
| From: | Papp Gyozo | Date: | Mon, 24 Sep 2001 22:44:01 +0000 |
| Subject: | Re: how to access to session variable without <a href ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68616@lists.php.net to get a copy of this message | ||
>whereas if I use <img src='graph.php?SID=$SID'>, I cannot have $TABLE
>content. it's empty.
I doubt that $SID is predefined variable, instead it is a constant
(SID without $). BTW, you can write:
<img src='graph.php?SID=SID'>
or
<img src='graph.php?<?php echo session_name(); ?>=<?php echo session_id();
?>>