How can I sort this array by value "date and let the ASC result shows? Is the bad formatting and naming caused my works to being wrong so that it made the ["date"] could not show in the table by ASC format. Thanks for everyone helps.
Array:
$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
)
)
)
)
)
)