How to sort a two-D ARRAY
| From: | salmarayan | Date: | Wed, 24 Jun 2009 22:23:22 +0000 |
| Subject: | How to sort a two-D ARRAY | ||
| Groups: | php.general php.general | ||
| Request: | Send a blank email to php-general+get-294551@lists.php.net to get a copy of this message | ||
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.