Re: php sessions...
| From: | CPT John W. Holmes | Date: | Fri, 16 May 2003 18:46:29 +0000 |
| Subject: | Re: php sessions... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147960@lists.php.net to get a copy of this message | ||
> sorry..left this out!
>
> in other words.... why does it appear that i need to set the SESSION var
to
> another var in order to use it.....
Because you do not know how to insert an array variable into a string...
echo "String... {$_SESSION['myAuctionID']}, okay?";
or
echo "String... " . $_SESSION['myAuctionID'] . ", okay?";
or
echo "String... $_SESSION[myAuctionID], okay?";
> $eee = $_SESSION['myAuctionID'];
> echo "
> blah..... $_SESSION['myAuctionID'] gg<br> <--- this doesn't seem to
> work
> blah44..... $eee gg<br> <--- this seems to work
> blah66..... $myAuctionID gg<br> <--- this doesn't seem to work
> ";
---John Holmes...