我遇到问题。我有一个多维数组,看起来像这样:PHP按日期排序多维数组
Array ([0] =>
Array (
[0] => Testguy2's post.
[1] => testguy2
[2] => 2013-04-03
)
[1] => Array (
[0] => Testguy's post.
[1] => testguy
[2] => 2013-04-07
)
);
我想从最新日期到最早日期的职位进行排序,所以它看起来是这样的:
Array ([1] => Array (
[0] => Testguy's post.
[1] => testguy
[2] => 2013-04-07
)
[0] => Array (
[0] => Testguy2's post.
[1] => testguy2
[2] => 2013-04-03
)
);
我怎么样它?
这工作得很好...... – 2017-02-20 09:39:58