php - how do I display items from an array with their values

Posted by Steven on Stack Overflow See other posts from Stack Overflow or by Steven
Published on 2010-04-27T12:38:22Z Indexed on 2010/04/27 12:43 UTC
Read the original article Hit count: 288

Filed under:
|

I have this array:

Array ( [#LFC] => 1 [#cafc] => 2 [#SkySports] => 1)

How do i display it like this on a page? (preferably in value descending order as below):

#cafc (2), #LFC (1), #SkySports (1)

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about array