我的外部JSON文件是
<%= @commodity_group.created_user.name %>
<%= @commodity_group.updated_user.name %>
和我的PHP代码
[{"refid": 1,"name": "bala 1","address": "","cityname": "india","statename": "","contact_num": 0,"emailid": "","img_field": "","last_modified": "2013-02-11 15:28:41","created_date": "2013-02-26","stat": "A"}, {"refid": 2,"name": "sathish","address": "","cityname": "india","statename": "","contact_num": 0,"emailid": "","img_field": "","last_modified": "2013-08-20 17:01:11","created_date": "2013-08-20","stat": "A"}]
我的.json文件.php文件是同一个文件夹,
php脚本返回结果为NULL如何在php中访问这个json文件?请解释并提及我在php文件中的错误