【发布时间】:2014-01-09 01:48:03
【问题描述】:
我有一个 PHP 页面,它根据其 GET 回显 JSON 数据。示例:
http://localhost/htdocs/includes/person_get.php?id[]=1&id[]=2
[{"id":"1","name_first1":"Daniel","name_last1":"Pendergast"},{"id":"2","name_first1":"Dennis","name_last1":"Pendergast"}]
我想要做的是从另一个页面读取它并解码成一个数组。我该怎么做?
【问题讨论】: