RE: [PHP] session var puzzle

2004-04-18 Thread Larry Brown
e going to overwrite it? If those other tests work then I doubt that it is a session problem. I'd double-check to make sure that $Data['ID'] is holding a reasonable value. -Original Message- From: Kathleen Ballard [mailto:[EMAIL PROTECTED] Sent: Sunday, April 18, 2004 6:46 PM

Re: [PHP] session var puzzle

2004-04-18 Thread Tom Rogers
Hi, Monday, April 19, 2004, 8:46:02 AM, you wrote: KB> Dear list, KB> I am sorry for the second posting, but this is going KB> to drive me to drink something other than lattes! KB> I have one page, index.php. when it calls mod_sub, a KB> directory type of page is printed. Here I am trying KB>

Re: [PHP] session var puzzle

2004-04-18 Thread Richard Harb
Hi, As I have no idea what those var contain .. what does a print_r() of it give you? print it right when you assign it to the session var to check if it actually contains a value. like: print_r($Data['ID']); and maybe even print_r(intval($Data['ID'])); I suspect that this $Data['ID'] is empty

[PHP] session var puzzle

2004-04-18 Thread Kathleen Ballard
Dear list, I am sorry for the second posting, but this is going to drive me to drink something other than lattes! I have one page, index.php. when it calls mod_sub, a directory type of page is printed. Here I am trying to set a session var of the most recently selected category to allow the use