Hi,
I have a menu system that uses a lot of arrays SEE BELOW:
$menu = array
(
array
(
'title' => 'Item One',
'url' => 'item_one.php',
),
array
(
'title' => 'Item Two',
'url' => 'item_two.php',
'children' => array
(
array
(
'title' => 'Item Three',
'url' => 'item_three.php',
),
array
(
'title' => 'Item Four',
'url' => 'item_four.php',
)
)
)
);
$attrs = array('id' => 'navigation', 'class' => 'menu');
I need to store these arrays in a MySQL table and then be able to get them back as the same arrays for building the menu.
I am not sure how to sturcture this, tables etc.
Thank you
InsiteFX