<? $test = "1"; $name = "test"; echo "?"; // Outputs "1" ?>
How do I get my echo to output the number 1? Is there some fancy reference I can do? The variable name holds the name of another variable not a real value.
echo $$name;
Manuals are fun! http://www.php.net:8000/manual/en/html/language.variables.variable.html