1
我想通過season_number
排序這個數組但我不確定使用哪個函數,因爲我假設我需要自定義排序?有任何想法嗎?排序多維數組幫助
Array
(
[0] => Array
(
[season_number] => 7
[show_id] => 21
[show_seasons_id] => 14
)
[1] => Array
(
[season_number] => 6
[show_id] => 21
[show_seasons_id] => 31
)
[2] => Array
(
[season_number] => 1
[show_id] => 21
[show_seasons_id] => 40
)
[3] => Array
(
[season_number] => 2
[show_id] => 21
[show_seasons_id] => 41
)
)
好的一個......雖然`$ link`可能將不得不成爲`$ val`。 – xtofl 2011-01-26 16:19:18