title: Returning php content array to string conversion error
body: <p>I hava a php page where i have a function which does not print or echo to the page it returns a variable called content which is rendered on an html page. Throughout out this function i am appending to the content variable.</p>
  
  <p>i have an array ($myArray) which looks like </p>
  
  <pre><code>Array ( [0] =&gt; Array ( [0] =&gt; 2011-11-12 [1] =&gt; 1963-02-29 [3] =&gt; 2029-05-14 [9] =&gt; 1812-08-12 [11] =&gt; 1537-05-17  [16] =&gt; 2005-17-04  [30] =&gt; 3000-42-99  ) )
  </code></pre>
  
  <p>I am trying to loop through each item in $myArray and have it returned to the screen as a h1.</p>
  
  <pre><code>  foreach($myArray as $item  ){
      $content .= '&lt;h1&gt;'.$item.'&lt;/h1&gt;';
      }
  </code></pre>
  
  <p>This results in me getting an </p>
  
  <pre><code>Notice: Array to string conversion
  </code></pre>
  
  <p>error.</p>