Just for the sake of completing this thread, variable functions can be
read about here :

  http://www.php.net/manual/en/functions.variable-functions.php

Regards,
Philip


On Tue, 31 Jul 2001, scott [gts] wrote:

> im sorry, but i was trying to do that the hard
> way.  i figured out how to execute a function
> name in a variable.
> 
> $x ="test";
> 
> print "Hello: $x\n\n";
> 
> $x();
> 
> function test() {
>       print "yee haw";
> }
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to