헤이 Guyz 내가 배열에 문제가 정렬 및 난 당신이 다음 기본적으로 내가이 배열을 정렬하려는 나에게배열 (오름차순) 문제를 정렬
대답이에 대한 모든 솔루션을 경우이 slove 수하는 방법을 모르는이 이 36 39 39 41
Array
(
[0] => Array
(
[avg_pred_error] => 39
[user_name] => Abdul Samad
)
[1] => Array
(
[avg_pred_error] => 41
[user_name] => Kane Marcus
)
[2] => Array
(
[avg_pred_error] => 39
[user_name] => Sam Shawn
)
[3] => Array
(
[avg_pred_error] => 36
[user_name] => Axel Woodgate
)
)
읽기에 대한 [배열 정렬 (http://il.php.net/manual/en/array.sorting.php) 특히 ['에 usort()' ] (http://il.php.net/manual/en/function.usort.php) –
http://stackoverflow.com/questions/2699086/php-sort-multidimensional-array-by-value – billyonecan