RE: [PHP] RE: Problem with Class - incomplete object error

2002-11-18 Thread Ford, Mike [LSS]
> -Original Message- > From: Paul [mailto:[EMAIL PROTECTED]] > Sent: 18 November 2002 11:49 > To: 'Tim Ward'; [EMAIL PROTECTED] > Subject: RE: [PHP] RE: Problem with Class - incomplete object error > > > Yes, I have included class definition on the top o

RE: [PHP] RE: Problem with Class - incomplete object error

2002-11-18 Thread Paul
Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 4:17 AM To: 'Paul'; [EMAIL PROTECTED] Subject: [PHP] RE: Problem with Class - incomplete object error you've included the class definition at the top of every page, right? and why don

[PHP] RE: Problem with Class - incomplete object error

2002-11-18 Thread Tim Ward
you've included the class definition at the top of every page, right? and why don't you just use $_SESSION["cart"] directly instead of using $cart? that way you don't have to worry about scoping issues and continually passing $cart through to functions. Tim > -Original Message- > From: P