Hierarchical List Question
| From: | Clarence Kwei | Date: | Mon, 13 Nov 2000 21:02:54 +0000 |
| Subject: | Hierarchical List Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25027@lists.php.net to get a copy of this message | ||
I'm trying to do write some code that will look through a table with an ID
and Parent_ID and create a hierarchical list of the results.
ex.
+ Item 1
- subItem 1.1
- subItem 1.2
- subItem 1.3
- subItem 1.4
- subsubItem 1.4.1
- subsubItem 1.4.2
- subsubItem 1.4.3
+ Item 2
- subItem 2.1
etc.
I've only seen one example on the web - a Javascript menu building function.
Does anyone know any other resources that might have some code that would do
the above. Any help would be greatly appreciated.
Thanks very much.
--
Clarence
-> clarencek@ifurnishing.com