.. but you need to do is to do something like NogDog suggested:
$message = array(array('hello'=>'there'),
array('hello'=>'there'),
array('hello'=>'there'),
array('hello'=>'there'));
foreach ($message as $key => $value) {
//echo $key." ".$value;//this will list out only first array dimension,
//but to get an actual values you need to scope the second dimension like this:
while(list($k,$v) = each($value)){
echo "$k $v<br />";
}
}
Your way of creating array only rewrites array so you end up with one member in the end and it is in second dimension...
Hence the 0 Array... That just means that you have another array stashed under the key 0... Are array clearer now?