[EMAIL PROTECTED] (Greg Fyans) wrote:
> Fatal error: Call to a member function on a non-object in
>/home/cmradmin/public_html/thus/basket.php on line 304
> Does anyone know what the flaming heck that means? I'm trying to fix this little
>problem which has only appeared since my webserver upgraded to PHP4.
> Line 304 contains this:
>
>$MyCart->Display($Orderno);
>
have you initialized you object before using it?
like:
$MyCart = new MyCart;
--
Henrik Hansen
--
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]