Posted by Alan Little on 05/17/06 22:16
class example {
var $Stage;
function example() {
$this->Stage = 'init';
$x = ???????;
echo $$x;
}
}
What do I put in $x so that $$x gives me "init"? 'Stage' doesn't work,
nor does 'this->Stage'.
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Navigation:
[Reply to this message]
|