2012-08-11 43 views

回答

1
$json = file_get_contents("http://www......."); 
$array = json_decode($json); 

print_r($array); 

這是你在找什麼? 應該工作:)

+0

嗨Ofir,感謝您張貼您的答案。 它運作良好。但我如何在視圖中迴應它? 再次感謝 – user1592192 2012-08-11 20:16:38

+0

$ this-> set('itunesData',$ json); – CoryJThompson 2012-08-12 04:14:40