title: Printing a table or list from a complex php array
body: <p>I have an array that is generated from a third party. Which means I must work with the array format I have been given. Below is an array extract from var_dump.</p>
  <pre><code>{ 
      [0]=&gt; object(stdClass)#3510 (3) { 
          [&quot;privacy&quot;]=&gt; string(1) &quot;0&quot; 
          [&quot;name&quot;]=&gt; string(11) &quot;jumpsuits&quot; 
          [&quot;token&quot;]=&gt; string(12) &quot;PD21B62AIFFM&quot; 
      } 
      [1]=&gt; object(stdClass)#3509 (3) { 
          [&quot;privacy&quot;]=&gt; string(1) &quot;1&quot; 
          [&quot;name&quot;]=&gt; string(8) &quot;helmets&quot; 
          [&quot;token&quot;]=&gt; string(12) &quot;PL68C79RKYAP&quot; 
      } 
  } 
  </code></pre>
  <p>I am not a php programmer. But I do need to find a simple way in PHP to turn the array data in the format above into a three column table with the headings 'privacy', 'name' and 'token'.</p>
  <p>If I could just get a starter for ten as to why <code>echo $array['name'][0]</code> returns nothing I think I could work the rest out.</p>
  <p>Thank you</p>