In my application i am making curl request and in response getting an array, but somehow not able to manipulate that array also is_array() not recognize that as an array.
code for curl request is :
$curls="http://localhost/myapp/alertentryxml.php?".$compurl;
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$curls);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
$store = curl_exec($ch);
and generating an multidimensional array from alertentryxml.php with
print_r($data);
$data is multidimensional array.
when i checked response in above $store variable, it shows an array in response but not working as a array. What i have done wrong here? is it possible to send array as a response or not?