iBuddy wrote:this only outputs the last $status in the loop.
Yes, that's because your code is essentially doing the same as this:
foreach($result as $status)
{
$test = array('time' => $status['created_time'],'message' => $status['message']);
}
which is, of course, only going to retain the last value you assign to it.
It sounds like what you want is an array of arrays. Create a temp variable and build the array of arrays in that variable, and then store the final result using $mc->set().