[PHP] session class

2001-12-21 Thread Christian Haines
(sorry if this has been posted a thousand times..i am having problems posting) hi all, how does one access and manipulate session variables from within a class? i have hunted the net high and low but received no relief. i have tried (where error is a session variable) class test { var

[PHP] session class driving me nuts

2001-09-30 Thread andreas \(@work\)
hi , gallerie.php: --- session_start(); class ABCD { function add_pic($picture,$galerie) { code here } } $artego = new ABCD; $artego-add_pic(Santiego,Humstein); -- line XX . more code

Re: [PHP] session class driving me nuts

2001-09-30 Thread Joel Ricker
: hi , : : gallerie.php: : : Fatal error: Call to a member function on a non-object in : /home/sites/site76/web/galerie/shop.php on line XX If I'm following you right and the class code you are trying to run is in gallerie.php, then your error is in shop.php. Joel -- PHP General Mailing