HI,
I have a script which reads an xml feed then uses a loop to insert information from that feed into a multi-dimensional array. I need to sort the array by 'day' before outputting, day is a dimension of the array.
Below is a print_r() of the array after the xml feed has been parsed.
Array
(
[0] => Array
(
[day] => Tuesday
[type] => sunny intervals
[max] => 18°C
[min] => 7°C
)
)
Array
(
[1] => Array
(
[day] => Wednesday
[type] => sunny intervals
[max] => 19°C
[min] => 10°C
)
)
Array
(
[2] => Array
(
[day] => Thursday
[type] => sunny intervals
[max] => 22°C
[min] => 13°C
)
)