php - How do I create a tree structure with an array using javascript? -
my problem create tree structure in json format flat data mysql query.
the array have coming mysql query in format: {"level":"higher","course":"administration , it","grade":"a"
}, ...etc
is there way order tree format using javascript? or need include hierarchical structure within database?
any pointers appreciated. cheers.
Comments
Post a Comment