我需要一個PHP可以只顯示STORE_NAME在PHP打印只JSON字符串的一部分
我曾嘗試沒有成功
<?php
require_once("admin/system/core.php");
$fetch = new server();
$fetch->connect();
$store = $fetch->getstore("movies");
print $store;
?>
的JSON看起來像這樣 [{"_id":{"$id":"4f67da1538fc5d7347000000"},"store_name":"movies","categories":{"name":"hoyts","products":{"name":"GoldClass","Price":"12.00","CashBack":"2.00"}}}]
你試過了,你知道,解析它嗎? – 2012-03-20 06:08:14
Post getStore()方法。 – Ben 2012-03-20 06:13:45