class error

From: Date: Thu, 16 Nov 2000 07:26:33 +0000
Subject: class error
Groups: php.general 
Request: Send a blank email to php-general+get-25642@lists.php.net to get a copy of this message
looksy at this.... Fatal error: Call to a member function on a non-object in /www/harborfresh/retail/hand.php on line 4 i get that when i try to access the class....... heres line 4 in hand.php 3:if ($action == "add"){
4:      $kurth = $cart->add_item(shopping, $product, 1);
5:      header('location: /retail/retail.php');
6:} now what did i do! ~kurth Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer There is no sin except stupidity. -- Oscar Wilde kurth@usaexpress.net | http://www.usaexpress.net/kurth PGP key available - http://www.usaexpress.net/kurth/pgp Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net (http://www.distributed.net)

« previous php.general (#25642) next »