> What do I have to do to call a function from $classname?
> 
> Like: $classname->test( );

Two methods:

First:

$classname = new ClassName();
$classname->test();

Second:

ClassName::test();

-- 
-Dan Joseph

"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."

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

Reply via email to