0
藉此數組:PHP - 如何計算項目的出現次數在數組
Array ([#twitterwhites] => 0 [#lufc] => 0 [#FOOTBALL] => 0 [#Liverpool] => 0 [#liverpool] => 0 [#ESPN] => 0 [#LUFC] => 0 [#cafc] => 0 [#cafc] => 0 [#ocra] => 0 [#nra] => 0 [#2nd] => 0 [#secondamendment] => 0 [#SCR] => 0 [#TC500] => 0 [#cpfc] => 0 [#MOT] => 0)
我想返回的結果是這樣的:
#liverpool = 2
#cafc = 2
#LUFC = 1
ETC ETC
我該怎麼辦呢?
你究竟能用同一個鍵出現兩次呢? – Rithiur 2010-04-27 11:09:43