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] Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.