title: whether can combine 2+ google api url for one json_decode foreach process?
body: <pre><code>&lt;?php
  $url = "http://ajax.googleapis.com/ajax/services/search/news?v=1.0&amp;rsz=large&amp;topic=h&amp;key={key-id}";
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_REFERER, $url);
  $body = curl_exec($ch);
  curl_close($ch);
  $data = json_decode($body);
  foreach ($data-&gt;responseData-&gt;results as $result) { 
  ...
  }
  $url2 = "http://ajax.googleapis.com/ajax/services/search/news?v=1.0&amp;rsz=large&amp;topic=h&amp;start=8&amp;key={key-id}";
  $ch = curl_init();
  ...
  foreach  
  ...
  
  ?&gt;  
  </code></pre>
  
  <p>I want to make an easy google search to show fresh news. I only know how to use  <code>&amp;start8</code>  to begin next 8 news items... Is there any way to combine 2+ <code>$url</code> that only one json_decode foreach can process all the results. Because the json callback structure are similar. Just define one <code>foreach ($data-&gt;responseData-&gt;results as $result)</code>... Thanks.              </p>