日期:2014-05-16 浏览次数:20555 次
$array=array(
'0'=>array('mobile'=>'13814002394'),
'1'=>array('mobile'=>'13814002395'),
'2'=>array('mobile'=>'13814002396'),
'3'=>array('mobile'=>'13814002397'),
'4'=>array('mobile'=>'13814002398'),
'5'=>array('mobile'=>'13814002399'),
'6'=>array('mobile'=>'13814002400')
);
foreach($array as $key=>$value){
$mobile.=$dot.$value['mobile'];
$dot=",";
}
return $mobile;
$array=array(
'0'=>array('mobile'=>'13814002394'),
'1'=>array('mobile'=>'13814002395'),
'2'=>array('mobile'=>'13814002396'),
'3'=>array('mobile'=>'13814002397'),
'4'=>array('mobile'=>'13814002398'),
'5'=>array('mobile'=>'13814002399'),
'6'=>array('mobile'=>'13814002400')
);
foreach($array as $key=>$value){
$newarray[$key]=$value['mobile'];
}
return join(",",$newarray);