-2
Array ( [0] => stdClass Object ( [count] => 3  ) ) 
Array ( [0] => stdClass Object ( [count] => 1 ) ) 
Array ( [0] => stdClass Object ( [count] => 2 ) )
Array ( [0] => stdClass Object ( [count] => 0 ) )
Array ( [0] => stdClass Object ( [count] => 0 )  ) 
Array ( [0] => stdClass Object ( [count] => 0 )  )
Array ( [0] => stdClass Object ( [count] => 0 )  )
Array ( [0] => stdClass Object ( [count] => 3 )  ) 

我只想打印 3 1 2 0 0 0 0 3

4

1 回答 1

2
foreach($data as $array)
{
   echo $array[0]->count;
}
于 2012-04-04T12:17:44.750 回答