array_count_value

    Date: 02/14/10 (PHP Community)    Keywords: no keywords

    Hello,

    Is it possible to rank array_count_value() in order of... count?

    e.g.

    $array = array(1,1,2,2,2,3);
    array_count_value($array);

    It would output, in this order: 2, 1, 3 because 2 has the highest frequency.

    Thanks in advance!


    SOLVED!

    Source: http://php.livejournal.com/676928.html

« $_SESSION Use || Do x to items 1-7, then y... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home