Need help Decoding JSON with XML

Posted by brant on Stack Overflow See other posts from Stack Overflow or by brant
Published on 2010-06-11T01:32:46Z Indexed on 2010/06/11 1:43 UTC
Read the original article Hit count: 377

Filed under:
|
|

I have a set of data that looks like this when using print_r($var):

cbfunc({"query":{"count":"12","created":"2010-06-11T01:20:19Z","lang":"en-US"},"results":["\n 238.l.739089.t.4<\/team_key>\n 4<\/team_id>\n CHEE-HOO!!!<\/name> 

It looks like JSON to me, so I've tried to use json_decode but can't get it right. My goal is to print the xml data found in "results".

Any helpful pointers would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml