passing second function through a function
| From: | Ian Truelsen | Date: | Mon, 17 Nov 2003 19:04:47 +0000 |
| Subject: | passing second function through a function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169992@lists.php.net to get a copy of this message | ||
What I want to do is to call a function from within a function, but pass
the secondary function name through the first function. Like this:
function1(function2)
Then call function2 from within function1. Unfortunately, I have been
unable to figure out the proper syntax for calling the second function.
Does anyone know if this is possible and what the proper syntax would be
for calling a function from a variable name?
--
Ian Truelsen
Email: ian@ihtruelsen.dyndns.org
AIM: ihtruelsen
Homepage: http://www.ihtruelsen.dyndns.org