thepip3r Posted December 15, 2009 Share Posted December 15, 2009 if i have an array that looks like: [EPM] => Array ( [0] => Array ( [uts] => 1255849200 [amount] => 6.45 ) [1] => Array ( [uts] => 1255852800 [amount] => 7.32 ) [2] => Array ( [uts] => 1255856400 [amount] => 7.12 ) [3] => Array ( [uts] => 1255860000 [amount] => 7.03 ) [4] => Array ( [uts] => 1255863600 [amount] => 7.38 ) ...how can i sort "EPM" based off of the ['EPM'][$x]['amount'] value? any pointers? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted December 15, 2009 Share Posted December 15, 2009 The documentation for array_multisort() has an example of such an operation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.