Variable method

From: Date: Fri, 19 Jan 2001 00:53:44 +0000
Subject: Variable method
Groups: php.general 
Request: Send a blank email to php-general+get-35530@lists.php.net to get a copy of this message
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 standard functions. Thanks for any help. ===== - Blaine __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

« previous php.general (#35530) next »