I have written a multiple curl and it outputs two different arrays
I'm using curl_multi_getcontent.
for($i = 0; $i < $node_count; $i++)
{
$results = curl_multi_getcontent ( $curl_arr[$i] );
$results = json_decode($results,true);
/*echo "<pre>";
print_r($results);
echo "</pre>";*/
}
This outputs two arrays. if I wanted to get data from one of the arrays, how do I call the first array? or the second array?
Is there something like $results[0] or something for the first array
foreach($results[0] as $result){
echo $result['pagination'];
}