RE: [PHP] - References Clarification Please -

2001-12-09 Thread Jason Lotito
Site(&$dbObj) { $this->db =& $dbObj; } Like that. Jason Lotito [EMAIL PROTECTED] www.NewbieNetwork.net > -Original Message- > From: Matt Friedman [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 09, 2001 1:34 PM > To: [EMAIL PROTECTED] > Subject: [PHP] - Refere

[PHP] - References Clarification Please -

2001-12-09 Thread Matt Friedman
Hi, I'm just trying to get my head around references and the uses etc... I have reviewed the manual section on this a few times but I'm still a bit fuzzy on it. First of all, here's some code I'm using to pass a reference to an object (which has global scope) to the constructor of a class "Site"