On Saturday 13 September 2003 01:40, CPT John W. Holmes wrote:
> From: "Vincent M." <[EMAIL PROTECTED]>
>
> > Is there any way to call a function with a variable inside the call. ie:
> >
> > if($preferences != "") {
> > dis_display$$preferences() ;
>
> $functon = "dis_play$preferences";
> $function();
Better still:
$functon(); // [sic]
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Software production is assumed to be a line function, but it is run
like a staff function.
-- Paul Licker
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php