Re: [PHP] How to sort a two-D ARRAY

2009-06-26 Thread Isataev Volodymir
On Thursday 25 June 2009 21:38:24 Ashley Sheridan wrote: > 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] => Arr

Re: [PHP] How to sort a two-D ARRAY

2009-06-25 Thread Ashley Sheridan
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 ( [compa

[PHP] How to sort a two-D ARRAY

2009-06-24 Thread salmarayan
Can Anyone tell me how to sort two D Array 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