Get nested/hierarchical JSON from MySQL/PHP

Posted by brz dot net on Stack Overflow See other posts from Stack Overflow or by brz dot net
Published on 2010-04-15T09:18:35Z Indexed on 2010/04/15 9:23 UTC
Read the original article Hit count: 374

Filed under:
|
|
|
|

I am using spacetree chart and I require JSON in hierarchical format. See sample required JSON format here. I have ID,ParentID,Name,Description fields in Mysql database table. Now How can I convert data in Hierarchical/nested JSON using PHP?

© Stack Overflow or respective owner

Related posts about JSON

Related posts about hierarchical-data