Best way to iterate this json code using PHP
<p>I have this json code:</p>

<pre><code>{
   "data": [
      {
         "name": "John",
         "id": "11"
      },
      {
         "name": "Max",
         "id": "22"
      },
      {
         "name": "Martin",
         "id": "33"
      },
      {
         "name": "Adrian",
         "id": "44"
      }
   ]
}
</code></pre>

<p>Now, I need to print all names and ids in this way:</p>

<pre><code>John 11
Max 22
Martin 33
Adrian 44
</code></pre>

<p>What is the simplest way to do that ?</p>
