Re: [PHP] Variable method

2001-01-18 Thread Steve Edberg
At 4:53 PM -0800 1/18/01, Blaine Grady wrote: >Suppose I have: > $method = "doIt"; >inside a class. How do I construct the statment, using $method, to >call: > $this->doIt(); >I tried every combination I can think of but I keep getting "Call to >unsupported or undefined function" when d

[PHP] Variable method

2001-01-18 Thread Blaine Grady
Suppose I have: $method = "doIt"; inside a class. How do I construct the statment, using $method, to call: $this->doIt(); I tried every combination I can think of but I keep getting "Call to unsupported or undefined function" when doIt() is a proper method. I have no problem with stand