I am a newbie at working with arrays and was wondering how I can grab all the info from a certain part of an array. I have for example the following array:
$date = array(
"1" => array(1 => "hi", 2 => "hi2"),
"2" => array(1 => "hi3"),
"3" => array(1 => "hi4", 2 => "hi5", 3 => "hi6")
);
I got it output easily via:
list($num, $text) = $date[1];
echo "$text\n";
But I want to loop it somehow to grab all of the values in the array. How do I do that?
Thanks