I think I better explain before I ask...
I'll try to explain the best I can.
I am working on a program called Gateway.
Its a CMS program and has menus, obviously.
The menus, stored in MySQL, have a column to order them by called menu_order.
I store the menus and their items in a serialized array that is also stored in the database to reduce the amount of queries.
When the program inserts the menus into the array, it displays the menus in the order in which they come out of the array.
So if I modify the ordering from the menus table, the serialized array would modify the order.
However, the order in which the menu stays the way it is in the array.
Basically, the displaying of the menus is not ordered by the "menu_order" id.
My question is, how can I order the array to display according to the "menu_order" id?
Will array_sort do this?
I think that is all...
Thank you