Ive been racking my head on this for a week and have really gotten NOWHERE.
What im trying to do is take the basic parent child IDs from my menu table and create a function or FUNCTIONS to take that data and build a standard hierarchical array out of it for further manipulation.
THe reason for this is so i could more easily make different menu styles from the array hash that would be saved to a file without hitting the DB each time.
My table is the basic items
ID
Parent_ID
name
link
Im wanting to build the array hash to look similar to the pear menu array hash located here
http://pear.php.net/package/HTML_Menu
Then I can take the ouput array, assign it to a var then use that var to rebuild the has to different menu styles.
Does this make sense?
Thanks for any help