标签云

微信群

扫码加入我们

WeChat QR Code

This question already has an answer here:How can I parse a JSON file with PHP?16 answersHow do I extract data from JSON with PHP?4 answersI have a simple JSON{"message":"otp verified","type":"success"}How do i decode this in PHPI tried this still am getting error $response= $sms->verify($mob_num,$otp,$api_key); $json_a = json_decode($response, true); return $json_a['type'];


john-conde Which one share the link too

2019年04月25日00分32秒

Look at the top of your question.

2019年04月25日00分32秒

Can you please answer this question? as i am unable to understand. still i am getting error

2019年04月25日00分32秒

You did what and you still get what error?

2019年04月25日00分32秒

Re edit: "am getting error" — what error? Quote the exact error message.

2019年04月25日00分32秒