Getting data from JSON with PHP

gleichidgeflc

New Member
Here's the json\[code\][{"location":"USA","email":"[email protected]","sex":"male","age":"Unkown","other":null,"profile":{"net":["55","56"],"networks":[{"site_url":"http://site.com","network":"test","username":"mike"},{"site_url":"http://site.com/2","network":"test2","username":"mike2"}]},"name":"Mike Jones","id":111}]\[/code\]I wanted to know how I could echo out all networks so it echos out the site_url,network, and user for each of the 2.How would I get "name" at the end out of there as well?Tanks!
 
Back
Top