【发布时间】:2016-02-23 15:28:33
【问题描述】:
我有这个 JSON:
{
"cache": true,
"data": [
{
"unique_id": "914239",
"description": "New Zealand 370/10 & 335/10 v Australia 70/1 & 505/10 *",
"title": "New Zealand 370/10 & 335/10 v Australia 70/1 & 505/10 *"
},
{
"unique_id": "973833",
"description": "Helmand Province Under-17s 135/10 * v Khost Province Under-17s 286/9 ",
"title": "Helmand Province Under-17s 135/10 * v Khost Province Under-17s 286/9 "
},
{
"unique_id": "935949",
"description": "Mid West Rhinos v Mashonaland Eagles 264/2 *",
"title": "Mid West Rhinos v Mashonaland Eagles 264/2 *"
},
{
"unique_id": "973379",
"description": "Mountaineers 136/10 v Matabeleland Tuskers 42 *",
"title": "Mountaineers 136/10 v Matabeleland Tuskers 42 *"
},
{
"unique_id": "959221",
"description": "Islamabad United v Quetta Gladiators",
"title": "Islamabad United v Quetta Gladiators"
}
],
"provider": {
"pubDate": "2016-02-23T14:01:01.467Z",
"source": "http://www.cricinfo.com/",
"url": "http://crm.wherrelz.com/"
}
}
我需要在我的 PHP 网站中显示标题和数据。
【问题讨论】:
-
这不是一个真正的问题
-
欢迎来到 StackOverflow,哈利!请参阅“How do ask a good question”
-
@fusion3k 别忘了
foreach():) -
@MonkeyZeus ...还有
echo,也许... ;)