RE: [PHP-DB] Viewing Session Varibles

2002-02-07 Thread JD Daniels
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

Re: [PHP-DB] Viewing Session Varibles

2002-02-07 Thread Robert Weeks
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

RE: [PHP-DB] Viewing Session Varibles

2002-02-07 Thread JD Daniels
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

[PHP-DB] Viewing Session Varibles

2002-02-07 Thread Robert Weeks
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