troubleshooting Question

help needed in building json data

Avatar of 3xtr3m3d
3xtr3m3d asked on
PHPJavaScriptJoomla
6 Comments1 Solution429 ViewsLast Modified:
Hi

any idea how to build this structure with json using php

"data" : [
				{ 
					"data" : "My Documents", 
					"children" : [ {"attr":{"id":"2","rel":"file"},"data":"file1.doc","state":""} ]
				}
			]

Open in new window


Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros