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]