Hi,

Saturday, September 13, 2003, 5:39:47 AM, you wrote:
CJWH> From: "Jason Wong" <[EMAIL PROTECTED]>

>> 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.
CJWH> ie:
>> > >
>> > >   if($preferences != "") {
>> > >         dis_display$$preferences() ;
>> >
>> > $functon = "dis_play$preferences";
>> > $function();
>>
>> Better still:
>>
>>   $functon(); // [sic]

CJWH> LOL... No, you don't have to worry about that. Isn't PHP smart enough to
CJWH> know what I mean??

CJWH> ---John Holmes...


I think the ini file has enable_smart_typist set to on by default, causes me all
types of hassles :)

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to