ou can handle it. This is the only way I got reliable use
out sessions :p
I just whipped this off the top of my head.. so may not work :)
JD
-Original Message-
From: Robert Weeks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 10:41 AM
To: php
Subject: Re: [PHP-DB] Viewing Ses
Ok,
This is driving me nuts. I'm sure its something simple but I can't seem to
find the glitch.
I'm trying to make a simple shopping cart using Session varibles to store
the item => quantity pairs, then I loop thru the cart and query the db to
get the item details, etc.. Most of it works fine bu
Like so:
echo"";
print_r($_SESSION);
echo"":
I think for PHP less 4.04, you need $HTTP_SESSION_VARS Instead.
JD
-Original Message-
From: Robert Weeks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 8:45 AM
To: php
Subject: [PHP-DB] Viewing Session Va
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.
Thank