Re: Calling a function.

From: Date: Fri, 12 Sep 2003 19:39:47 +0000
Subject: Re: Calling a function.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-162464@lists.php.net to get a copy of this message
From: "Jason Wong" <php-general@gremlins.biz> > On Saturday 13 September 2003 01:40, CPT John W. Holmes wrote: > > From: "Vincent M." <cult@free.fr> > > > > > 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] LOL... No, you don't have to worry about that. Isn't PHP smart enough to know what I mean?? ---John Holmes...

« previous php.general (#162464) next »