Re: [PHP] Re: Basics of OOP

2008-09-09 Thread Jochem Maas
Nathan Rixham schreef: Ben Stones wrote: Hi, The following bit of code doesn't output anything: text = "Hello World"; echo $this->text; } } $class = new output(); $class->outputText; ?> As well as the following code: text; } } $class = new ou

[PHP] Re: Basics of OOP

2008-09-09 Thread Nathan Rixham
Ben Stones wrote: Hi, The following bit of code doesn't output anything: text = "Hello World"; echo $this->text; } } $class = new output(); $class->outputText; ?> As well as the following code: text; } } $class = new output(); $class->outp