可能重复:
how to sort a multidemensional array by an inner key
How to sort an array of arrays in php?PHP按字段排序数组?
我怎样才能有点像数组:$array[$i]['title'];
阵列结构可能是这样的:
array[0](
'id' => 321,
'title' => 'Some Title',
'slug' => 'some-title',
'author' => 'Some Author',
'author_slug' => 'some-author');
array[1](
'id' => 123,
'title' => 'Another Title',
'slug' => 'another-title',
'author' => 'Another Author',
'author_slug' => 'another-author');
所以数据显示在ASC订单基于标题字段在数组中?
迈克尔:蒂姆只是在帮助。首先进行搜索是这里的一个先决条件,我们可以得到一个似乎并未先搜索/尝试的提问者。 – halfer 2012-04-03 19:39:02