wobblemonster Posted July 19, 2006 Share Posted July 19, 2006 PHP Newbie: I want to represent some data in a tree structure and have the ability to update the data: add, amend or delete nodes at any level.Can anyone point me towards a good script or example that achieves this? I'm pretty sure that I could figure out how to render the tree in html by myself, but integrating the edit facility has me stuck.The tree would be backed by a single database table containing the all the nodes, e.g.[table][tr][td][b]NodeId[/b][/td][td] int[/td][td] identity[/td][/tr][tr][td][b]Name[/b][/td][td] varchar[/td][td][/td][/tr][tr][td][b]ParentId[/b][/td][td] int[/td][td] default(0)[/td][/tr][/table] Link to comment https://forums.phpfreaks.com/topic/15022-suggestions-for-data-driven-tree-script-or-example/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.