日期:2014-05-17 浏览次数:20444 次
Array
(
[strwarenum] => Array
(
[0] => 1
[1] => 1
)
[strwareid] => Array
(
[0] => 80
[1] => 79
)
)
Array
(
[config_id] =>
[strwareid] => ,78,80
[strwarenum] => ,1,1
[config_name] =>
[config_desc] =>
[diycat_id] =>
)
foreach($b as $k => $v){
$a[$k][]='';
$v=array_reverse($a[$k]);
}
var_export($b);
$arr=你的数组;
foreach($arr as &$v){
if(is_array($v)) $v=','.join(',',$v);
}
print_r($arr);