referencing a class

From: Date: Tue, 07 Sep 2004 21:41:03 +0000
Subject: referencing a class
Groups: php.general 
Request: Send a blank email to php-general+get-196070@lists.php.net to get a copy of this message
Quick question here. Has anyone run into trouble with a variable reference to a class object? Here is the code: $_SESSION['database'] = new Database; $this->db = &$_SESSION['database']; Everything goes screwy after a call like this. Thanks in advance!

« previous php.general (#196070) next »