hankknight
asked on
PHP: accessing variable string from class
How can I get the value of var $foo?
<?php
class JConfig {
var $foo = 'hello';
var $zooph = 'world';
}
echo $JConfig->foo;
?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.