Jump to content


Suggestions for Data-driven Tree Script or Example?

  • Please log in to reply
No replies to this topic

#1 wobblemonster

  • New Members
  • Pip
  • Newbie
  • 1 posts
  • LocationUK

Posted 19 July 2006 - 10:41 AM

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.

NodeId  int  identity
Name  varchar
ParentId  int  default(0)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users