Anyone know how to accomplish this? Here is an example:
$a = 'jim';
$jim = 'friend';
function Test(){
global $$a;
echo $a;
}
I want this to echo "friend", the value of $jim. But I can't seem to get it to work. I've also tried
global ${$a}
to no avail.