摘要:
//$com 为数据源 $newarr = array(); if(is_array($com)){ foreach($com as $v){ if(!in_array($v,$newarr,true)){ $newarr[] = $v; } } }else{ return false; } 阅读全文
摘要:
if(empty($v)){ $indexes=''; }else{ if(!eregi("[^\x80-\xff]",$v)){ $fchar=ord($v{0}); if($fchar>=ord('A') && $fchar<=ord('z')) return strtoupper($v{0}) 阅读全文