Create treeview from data in mysql database

  • Status Completed
  • Budget €30 - €200 EUR
  • Total Bids 17

Project Description

Hi,

my company is working on a new website, but we have to setup a treeview, where the branches are loaded into the tree, from a mysql database.

it basicly contains a table with 3 fields. userID, parentID, ChildID

They want a treeview, that looks up the childs in the database.

example

user A:

treeview:

level 0 : userid from user A

---level 1: userid from user B (who is a child of user A)

---level 1: userid from user C (who is a child of user A)

-------level 2: userid from user D (who is a child of user C)

-------level 2: userid from user E (who is a child of user C)

---level 1: userid from user F (who is a child of user A)

we also need to limit this to 10 levels deep.

Level 0 always needs to be the userid of the user that is logged in.

Get free quotes for a project like this
Completed by:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online