jeet_0077 Posted February 14, 2008 Share Posted February 14, 2008 Hi I am trying to read the contents of the following link: $link = 'http://sports-ak.espn.go.com/broadband/espn360/upcomingEvents'; $content = file_get_contents($link); $res = json_decode($content, true); the link is returning json out put. But when I use json_decode function its not returning anything. Can you please tell me what went wrong. Or can you please suggest me what has to be done for that. Thanks Link to comment https://forums.phpfreaks.com/topic/91150-strange-problem-reading-the-json-format/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.