如何按值"日期对此数组进行排序并让ASC结果显示? 糟糕的格式和命名是否导致我的作品出错,这使得[" date"]无法通过ASC格式显示在表格中。 谢谢大家的帮助。
数组:
$arrayBooking = array(
"a01"=>array(
"Amy"=>array(
"booking1"=>array(
"231"=>array(
"date"=>"21/08/2014",
"period"=>array(
"from"=>1,
"to"=>3
)
)
)
)
),
"a02"=>array(
"Peter"=>array(
"booking1"=>array(
"231"=>array(
"date"=>"23/08/2014",
"period"=>array(
"from"=>2,
"to"=>3
)
)
),
"booking2"=>array(
"231"=>array(
"date2"=>"20/08/2014",
"period"=>array(
"from"=>2,
"to"=>5
)
)
)
)
),
"a05"=>array(
"Mary"=>array(
"booking1"=>array(
"321"=>array(
"date"=>"22/08/2014",
"period"=>array(
"from"=>3,
"to"=>6
)
)
)
)
)
)