RE: [PHP-DB] Viewing Session Varibles
| From: | JD Daniels | Date: | Thu, 07 Feb 2002 18:13:16 +0000 |
| Subject: | RE: [PHP-DB] Viewing Session Varibles | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16611@lists.php.net to get a copy of this message | ||
Like so:
echo"<pre>";
print_r($_SESSION);
echo"</pre>":
I think for PHP less 4.04, you need $HTTP_SESSION_VARS Instead.
JD
-----Original Message-----
From: Robert Weeks [mailto:robert@woozy.com]
Sent: Thursday, February 07, 2002 8:45 AM
To: php
Subject: [PHP-DB] Viewing Session Varibles
Is there an easy way to get a dump to the page of all session varibles?
I'm trying to create an associtave array in a session varible named cart
($item1 =>$qty1, $item3=>$qty2, etc.) and i can't seem to wrap my brain
around it this morning. I get the item set but can't get the $qty to set.
Thanks,
Robert Weeks
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php