PHP: separate value in array according to alphabate order

Posted by Sanjay on Stack Overflow See other posts from Stack Overflow or by Sanjay
Published on 2010-04-07T13:05:51Z Indexed on 2010/04/07 13:13 UTC
Read the original article Hit count: 160

Filed under:
|

hi,
i want to find values in array according to alphabate and want to make list in of array values according to alphabate order.

my array is like that:

Array ( [0] => Array ( [0] => Adidas [1] => AKG [2] => Apple [3] => Barrats [4] => Canon [5] => Dell [6] => Dixons [7] => HTC [8] => Liverpool [9] => Microsoft [10] => Pirelli Tyres [11] => )

)

and i want to make a list of values according to alphabate like this:

A


Adidas
AKG

plz any idea?

© Stack Overflow or respective owner

Related posts about php

Related posts about array