This is my code
$response = json_decode($result);
print_r($response);
and I got the result
stdClass Object ( [type] => http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/ [title] => Resource Not Found
[status] => 404
[detail] => The requested resource could not be found.
[instance] => )
and I added
foreach($response as $key=>$val)
{
echo $key.'='.$val.'<br>';
}
But I want how to get exact key and value for detail
. How to get it?
Thanks