I have this json
{"response":{"status":"SUCCESS","totalsent":1,"cost":2}}
Now I want to extract the value of "status"
Please how can I do this in php?
$yourJson = '{"response":{"status":"SUCCESS","totalsent":1,"cost":2}}';
$jsArr = json_decode($yourJson, true);
print_r($jsArr['response']['status']);