This may seemlike a weird and useless question but it has a bigger meaning to the project.
I need to know how to determine the name of a string from another variable and then output the results.
$a = 'X';
$b = 'a';
echo "$$b";
I know the above only returns $b so how can I get it to echo the value of $a by gathering the name of $a from $b???
Thanks.