note 44158 deleted from language.variables.scope by nlopess

From: Date: Fri, 16 Jul 2004 10:17:18 +0000
Subject: note 44158 deleted from language.variables.scope by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73365@lists.php.net to get a copy of this message
Note Submitter: Cyril Bur ---- Question! I need to know something..... I have 1 class (a database class) and i use it to run all my queries, so i can count how many i made....I have a second class which needs to make a query but if I use :: to access it, it doesn't add one to the counter (and I know why don't bother explaining). I was just wondering if i could access the database object from within the other class function...I tried the global keyword it didn't work....Please help

« previous php.notes (#73365) next »