Create treeview from data in mysql database

This project was successfully completed by MakeYouBelieve for €40 EUR in a day.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
€30 - €200 EUR
Completed In
1 day
Total Bids
Project Description


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.


user A:


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.

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