Author: micke83 | Posted on: 9/2/2009 6:57:53 AM | Views : 248

Hello,
I have a menu structure that has unlimited levels. All menu items is in one table and the fields are: ID, ParentID, Name, Url.
Now I tried to make a search function that would present the pages with matches against the search words in a correct hierarchy. The problem is when a menu item is found below level 1 in the hierarchy, then it isnt printed out because it had no match on the previous level in the loops.
It's a little hard to explain but what I want is a function that can print that sort of menu structure in a correct hierarchy and filtered by the search words the user puts in.
Does anyone have or know of any function that would do this?
All help is appreciated!
...

Go to the complete details ...