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

Popular posts from this blog

python - cx_oracle unable to find Oracle Client -

stringtemplate - StringTemplate4 if conditional with length -

shader - OpenGL Shadow Map -