-3
如何獲取[t]
下的數據?如何在JSON中有效訪問數據PHP
JSON數據:
$array= json_decode($json);
echo "<pre>";
print_r($array[something blah blah]);
echo "</pre>"
如何獲取[t]
下的數據?如何在JSON中有效訪問數據PHP
JSON數據:
$array= json_decode($json);
echo "<pre>";
print_r($array[something blah blah]);
echo "</pre>"
要麼你JSON對象轉換爲數組,或訪問作爲一個對象:
$json->manga[0]->t;
非常感謝你,先生。它解決了我的問題:D –