这应该是非常简单的,但是怎么走呢。 我想通过一键排序的多维数组,像这样:如何用特定的键排序多维数组?
Array (
[0] => Array
(
[iid] => 1
[invitee] => 174
[nid] => 324343
[showtime] => 2010-05-09 15:15:00
[location] => 13
[status] => 1
[created] => 2010-05-09 15:05:00
[updated] => 2010-05-09 16:24:00
)
[1] => Array
(
[iid] => 1
[invitee] => 220
[nid] => 21232
[showtime] => 2010-05-09 15:15:00
[location] => 12
[status] => 0
[created] => 2010-05-10 18:11:00
[updated] => 2010-05-10 18:11:00
))
说我想[状态],按这个,我会怎样实现这一目标? 在此先感谢!
这个已经被问很多次了 - 看到http://stackoverflow.com/questions/777597/sorting-an-associative-array-in -php,http://stackoverflow.com/questions/96759/how-do-i-sort-a-multidimensional-array-in-php,http://stackoverflow.com/questions/96759/how-do-i -a-multi-dimensional-array-in-php作为开始 – 2010-05-10 17:12:24