From: "Peter Van Dijck" <[EMAIL PROTECTED]>
> Hi,
> I'd like to do:
> $function = "build_result()";
> $result = $$function;
> but it doesn't seem to work.
Try:
Cheers
Simon Garner
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
24, 2001 4:00 PM
Subject: [PHP] $result = $$function
Hi,
I'd like to do:
$function = "build_result()";
$result = $$function;
but it doesn't seem to work.
The reason why I think I need it is that I have a generic function, but
within it I have to call another fu
Hi,
I'd like to do:
$function = "build_result()";
$result = $$function;
but it doesn't seem to work.
The reason why I think I need it is that I have a generic function, but
within it I have to call another function depending on who called it. I
could build a switch within the generic function de
3 matches
Mail list logo