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
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
Comment