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
when i run this script i get:
Fatal error: Call to a member function on a non-object in
/home/sites/site76/web/galerie/shop.php on line XX
if i remove
session_start();
THEN IT WORKS !
but i need the session
WHATS GOING ON ?
thank you
andreas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]