hi all
I have an array to interrogate using foreach; it contains two further arrays, the first one is called values and I can access it like this:
[php]foreach ($CustomGroup[‘values’] as $TopKey => $TopValue) {[/php]
The ‘values’ array itself contains multiple arrays called 0, 1, 2 etc and I access those with a second foreach structure:
[php]
$CGValues = $TopValue;
foreach($CGValues] as $CGKey => $CGValue){
[/php]
My question is, can I get to the bottom level arrays directly without going through two separate foreach sructures?
Many thanks for any help