how to display data using tree view
Moderator: General Moderators
how to display data using tree view
i have some code that displays the data in the structure of tree something similar to the one in windows explorer. but my code isn't working. how to create a tree structure???????????????? in php
Try searching for DOM parsers
http://www.tonymarston.net/php-mysql/dom.html
http://www.tonymarston.net/php-mysql/dom.html
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
I have had problems in the past with DOM parsers and trees when the tree gets larger than a certain size. (Firefox coming up with popup can't remember the message but something like "script taking to long, do you wish to cancel"). As a result I started looking at alternatives and came up with a solution I posted on the boards here Nested Tree Display : Comments appreciated.
Not sure if people didn't provide any comments as they didn't find it useful, or just ignored it as they had no need for it, but feel free to take a look and comment on it.
Not sure if people didn't provide any comments as they didn't find it useful, or just ignored it as they had no need for it, but feel free to take a look and comment on it.