I have a php array which I got as a response from a server so I can't change it,
print_r($array);
// result is below
array(
'responseHeader'=>array(
'status'=>0,
'QTime'=>0,
'params'=>array(
'indent'=>'true',
'q'=>'rajnikanth',
'_'=>'1383362349068',
'wt'=>'php')),
'response'=>array('numFound'=>2,'start'=>0,'docs'=>array(
array(
'id'=>'31546690',
'title'=>'Jayan quotes',
'_version_'=>1450551735544184832),
array(
'id'=>'597727',
'title'=>'List of Internet phenomena',
'_version_'=>1450551735290429440))
))
How to access each of the title values in this array? I tried to use $array[0] but it erred out saying no offset set.