foreach(三维 value){
新二维=value;
}
使用foreach或for循环来重新构造一个二维数组。取三维数组中需要的元素。
具体语句取决于数组结构。建议贴出三维数组的结构。
===================
你想转成什么样的? 只需要
[seller_credit] => Array
(
[total_num] => 36409
[level] => 12
[good_num] => 36091
[score] => 36042
)
)
这部分内容吗?
$new_a = array();
foreach($a as $aitem){
$new_a[] = $aitem['seller_credit'];
}