Re: How to call a function from $classname

From: Date: Tue, 15 Mar 2005 16:05:40 +0000
Subject: Re: How to call a function from $classname
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-210809@lists.php.net to get a copy of this message
Thankyou, That works ;) Here the code: $get_table_fields_cmd = $classname."::intializeClass(\$dbConnect);"; eval($get_table_fields_cmd); André François-Xavier Lacroix wrote:
Maybe With the eval() function ?
Hi, What do I have to do to call a function from $classname? Like: $classname->test( ); Thankyou, André
-- André Pletschette GSM: 091 719 991 Skype: pletschette (Internet Telephony) VCard: http://andre.pletschette.net/ .o°'˜'°o.o°'˜'°o.o°'˜'°o.o°'˜'°o.o°'˜'°o.

« previous php.general (#210809) next »