Re: [PHP] Could somebody PLEASE explain this one to me

2002-01-29 Thread Lars Torben Wilson
On Tue, 2002-01-29 at 07:25, Aric Caley wrote: > Why, oh WHY doesnt this work. No panic, it's just a typo. :) > I get the error: > > Fatal error: Call to a member function on a non-object in > c:\home\digerati\www\classtest.php3 on line 23 > > If I try to make any assignments, anywhere,

RE: [PHP] Could somebody PLEASE explain this one to me

2002-01-29 Thread Martin Towell
dunno if this'll help, but try changing these two lines $this->$obj = new test1; $test = new test2; to these $this->$obj = &new test1; $test = &new test2; see if that helps - other than that - anyone else? -Original Message- From: Aric Caley [mailto:[EMAIL PROTECTED]] Sent: Wednesday,