I have an array that has a sub array I can access via
$fund['ManagersSets'][0]['PortfolioDate'];
I want to use a string variable for the array key. Something like:
$key = "'ManagersSets'][0]['ManagerBreakdowns'";
print_r($fund[$key]);
But get an undefined index notice when I run it. Is there a way to do this?