Re: help with inheritance problem

From: Date: Mon, 13 Nov 2000 11:55:19 +0000
Subject: Re: help with inheritance problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24953@lists.php.net to get a copy of this message
"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 (#24953) next »