[PHP] Re: referencing a class

2004-09-08 Thread Torsten Roehr
Jed R. Brubaker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

[PHP] Re: referencing a class

2004-09-08 Thread Torsten Roehr
Jed R. Brubaker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

[PHP] Re: referencing a class

2004-09-08 Thread Matthew Weier O'Phinney
* Jed R. Brubaker [EMAIL PROTECTED]: 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. You don't say what