Classes and Functions
| From: | Unknown Unknown | Date: | Wed, 02 Nov 2005 23:56:13 +0000 |
| Subject: | Classes and Functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-225005@lists.php.net to get a copy of this message | ||
Hi everybody i have a class that i reference with:
$DB= new DBInterface;
outside a function it works fine, but using $DB inside a function changes
the data type i think... i get an error saying i'm using a method on a
non-object...
any help appreciatted