|
From: Shannon W. <we...@ro...> - 2005-05-13 16:52:41
|
Bob Doan wrote:
>
>
> I could make it:
>
>
> <?
>
> custom_function($name, $value) {
> return $$name[$value];
> }
>
> ?>
>
> (I guess that simplifies things for PHP People ;) )
>
> If you can tell me how to call a PHP function w/ variables from c I'll
> make this the "short term" solution.
>
> It would probably only take me an hour or 2 to do this.
>
That would be fantastic.
I'm no authority on the Zend PHP API - luckily calling user functions
appears to be documented here:
http://www.php.net/manual/en/zend.calling-user-functions.php
Thanks,
Shannon
|