Hi,
I've got a multidimensiona l array and I can loop through it fine but I can't
get the values of first parts of the array - ie:
foreach ($a as $v1) {
foreach ($v1 as $v2) {
echo "$v2\n";
}
}
I can print $v2 straight out, but if I try to echo $v1 I get 'Array', I
realise that it is an array nested within the original array but it still
has a value which I need to determine.
Thanks
Alex
I've got a multidimensiona l array and I can loop through it fine but I can't
get the values of first parts of the array - ie:
foreach ($a as $v1) {
foreach ($v1 as $v2) {
echo "$v2\n";
}
}
I can print $v2 straight out, but if I try to echo $v1 I get 'Array', I
realise that it is an array nested within the original array but it still
has a value which I need to determine.
Thanks
Alex
Comment