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
Hi,
I didn't get why you haven't used this:
switch $var
case something: $result=$build_result(); break;
case somethingelse: $result=$build2(); break;
blah blah blah...
Ahmad
- Original Message -
From: Peter Van Dijck
To: php gen list
Sent: Saturday, February 24, 2001 4:0
2 matches
Mail list logo