printing multidimensional session variable
| From: | John Peebles | Date: | Wed, 16 Aug 2000 19:58:23 +0000 |
| Subject: | printing multidimensional session variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11936@lists.php.net to get a copy of this message | ||
Hi,
Pleas note that I am no longer on the mailing list so could you direct
replies to my personal email adress? Thanks.
I am trying to assign data into a multidimensional array and then register
the array as a session variable. Here is what i do:
$foo[$bar]['price'] = $price;
session_register($foot[$bar]['price']);
then i try to print it like this:
<?echo "{$foo[$bar][price]}"; ?>
this is the way the php manual says to do it in php4. is my problem the
registering or the printing?
Thanks so much in advance,
JP
=================================
The Official Faded Edge Website
www.fadededge.com
=================================