Hello.
I've got a strange situation.
I've got class Handlers it's only:
class Handlers
{
var $DB;
var $XML;
}
In my PHP script I want to do sth like this:
$Main = new Handlers();
$Main->DB = new DataBase();
$Main->XML = new XML();
but when inside eg. CreateNode method in XML class I want to run query
using: $this->DB->RunQuery();
it's of course fatal error...
I saw in one script that such classes
can be created but i don't remember where I found it...
Can it be writen in PHP 4?
thanks in advance
--
best regards
R