Greets ...
A funny thing happened to me on the way into a script ... I found that I
could not pass a multi-demensional array into a function using GLOBAL.
$MyNav[key($NavArray)]="hide"
$MyNav[key($NavArray)][page]="yes";
echo "$MyNav["Awards_Players"]["page"];
That yeilds me "h"
Further investigation found:
echo "$MyNav["Awards_Players"][0];
echo "$MyNav["Awards_Players"][1];
echo "$MyNav["Awards_Players"][2];
echo "$MyNav["Awards_Players"][3];
Yielded me: hide
Now this I just don't understand ... is PHP assuming that if it doesn't spot
a multi-D info that the bracket on the end is a "index" into the data stored
in the array??
How do I get around this?? I really don't want to pass that stuff into the
function since it might get modified and read by other functions ... I
really just want to GLOBAL the array and all demensions of the array ...
David Carter