Re: help with inheritance problem

From: Date: Tue, 14 Nov 2000 00:38:43 +0000
Subject: Re: help with inheritance problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-25069@lists.php.net to get a copy of this message
Sorry, this was a typo on my part. It's not the problem :-( Paul K Egell-Johnsen wrote: > "David P. Schwartz" wrote: > > > function so_something_with_base() > > { > > // here, I want to access $this->db->connection in base class, but I > > cannot seem to get it. > > $bdb2 = $this->db; > > $conn = $bdb2->$connection; # <<--------------- line 116 > > You need to write: $bdb2->connection; > > -- > Paul K Egell-Johnsen > Utvikler/PR Manager > zez.org: about code > http://zez.org/

« previous php.general (#25069) next »