I’ve taken a look at a few googles and actually found this stack too: How to sort a date array in PHP
I’ts on the same wave length but i’m not sure i get it clearly. I’ve read over the phpnet documentation too… As I said, i’m feeling shakey from it.
I have an array:
Array
(
[0] => Array
(
[created] => 2012-06-06 21:26:25
)
[1] => Array
(
[created] => 2012-06-06 21:23:45
)
)
And I basically need to sort this array so that they are in date order.
How does this call back function work for usort? Any examples would be great!
then use…