Re: [PHP] Re: function names

2001-10-26 Thread Olexandr Vynnychenko
Hello Mike, Thursday, October 25, 2001, 10:09:18 PM, you wrote: MF> Actually your problem is with the function itself. In order for it to work MF> you need to use the "this" keyword: MF> class A { MF> var $xxx; MF> function print() { MF> echo $this->xxx; MF> } MF> } MF> Y

[PHP] Re: function names

2001-10-25 Thread Mike Frazer
Actually your problem is with the function itself. In order for it to work you need to use the "this" keyword: class A { var $xxx; function print() { echo $this->xxx; } } You may also run into problems with calling the function print(), I don't know for sure. But the probl