Re: sorting in PHP.
..oO(amit)
>I'm getting data string as following. One of the columns is unixtime
>(10th element in each row) . How can I sort my array base on that?
>
>"310","true","6824567491","682087491","714469","x xxxx","xxxxx","xxxxx","xxxx","xxxxx","1206047432"
>"310","false","681224591","682087491","667256827" ,"yyyyy","yyyy","yyyy","yyyy","yyyy","120604783 7"
Write your own sorting function to use with usort().
Micha
|