Hello.
For admin purposes, I want to be able to input a variable name, then print that variable.
For instance,, using an input box named $a, I input the info $b. $b is set at "Bob" in the code.
If I print $a, I get "$b", not "Bob".
thanks
Bob
Not sure I quite understand if you input $b and clcik submit and then print $a you $b and you want to get Bob where Bob assigned to $b?
$b="Bob" is assigned in the code.
Then I have input box $a.
If I input into $a, the text of '$b', I want this to reference the code assigned variable, $b and print "Bob".
are u wanna to do that? $b = "bob"; $a = "$b";
eval("echo $a;") OR echo $$a;
Thanks
Eval() worked.