Re: [PHP] $result = $$function

2001-02-24 Thread Simon Garner
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

Re: [PHP] $result = $$function

2001-02-24 Thread Web Admin
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

[PHP] $result = $$function

2001-02-24 Thread Peter Van Dijck
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