在php中如何獲取activity_id_0和student_phone_0等的值。 我的JSON字符串就像php獲取json字符串鍵值
array(
'json_text' => '{
"student_activity":{"activity_id_0":"1","student_id_0":"1","charges_0":"123"},
"student_contact_info":{"student_phone_0":"7867857986","student_id_0":"1","student_email_0":""}
}'
)
你嘗試過什麼??? – Saty
我試過json_decode,但是它給了我錯誤 – vnnogile