日期:2014-05-17 浏览次数:20574 次
error_reporting(E_ALL ^ E_NOTICE); $a = array ( 615 => '赣州', 510 => '南昌', 485 => '九江', 375 => '南昌', 350 => '赣州', 295 => '九江', 280 => '九江' ); foreach($a as $v=>$k) { $b[$k] += $v; } $b = array_flip($b); print_r($b);