First off I should say that I'm quite new to arrays, been working with PHP for a while but generally avoided arrays of a multi-dimmensional type.
I have an array like,
Array
(
[0] => Array
(
[ID] => 78
[TYPE] => teacher
[DATE] => 2007-05-19 19:51:00
[TITLE] => jon
)
[1] => Array
(
[ID] => 37
[TYPE] => link
[DATE] => 2007-05-13 18:12:26
[TITLE] => fff
)
[2] => Array
(
[ID] => 77
[TYPE] => event
[DATE] => 2007-05-13 18:07:46
[TITLE] => Start-Time
)
)
etc
I want to sort the entire array by the date field, so the whole array is in date order. The actual array is a lot larger than this, but it repeats in the same way. I've looked into the multisort function. Is this the right function to be looking at or is there a better way to do this?
Thanks,
Tom