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 -

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -