<pre>
I'm unable to echo the value of an element using a variable name for the array.
$fred = "hello";
$var_name = 'fred';
echo $$var_name;
This works fine and prints "hello".
$fred = array("item" => "hello");
$var_name = 'fred["item"]';
echo $$var_name;
or
echo ${$var_name}
Any suggestions? Using Php-4.1.0
</pre>