At 11:22 PM 2/16/2002 -0800, Anas Mughal wrote:
I get a parse error using my CGI version of PHP on the
following line:
$message = $$this-func_name($string);
However, the same above line works fine with my ISP's
CGI version of PHP.
That is strange. Just for kicks, try using curly braces to
Thank you very much...
This worked:
$message = ${$this-func_name($string)};
and, this worked: (I am going to stick with this)
$message = ${$this-func_name}($string);
However, this did NOT work:
$message = ${$this}-func_name($string);
Lesson learned: I need to enclose the function
2 matches
Mail list logo