Re: How to sort a two-D ARRAY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-06-24 at 15:23 -0700, salmarayan wrote:
> Can Anyone tell me how to sort two D Array in Descending Order
> for example like this one based on the gain
> Array ( [0] => Array ( [company_name] =>X [gain] => 0.2 ) [1] => Array (
> [company_name] => y[gain] => 0.34 )[2]1] => Array ( [company_name] =>z[gain]
> => 2 )  )
> Thanks in advance
> -- 
> View this message in context: http://www.nabble.com/How-to-sort-a-two-D-ARRAY-tp24193925p24193925.html
> Sent from the PHP - General mailing list archive at Nabble.com.
> 
> 
stw http://us3.php.net/manual/en/function.array-multisort.php



Thanks
Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux