Re: How to call a function from $classname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux