标签:company
$ext = "a_b_c";
$ext_arr = explode(‘_‘, $ext);
unset($ext_arr[0]);
unset($ext_arr[count($ext_arr)]);
$uid = "";
foreach ($ext_arr as $value) {
if ($uid == ""){
$uid = $value;
}else{
$uid = $uid . "_" . $value;
}
}
本文出自 “陪你度过漫长岁月” 博客,谢绝转载!
标签:company
原文地址:http://4774721.blog.51cto.com/4764721/1792315