title: display php foreach values in div
body: <p>I have </p>
  
  <pre><code>  foreach ($a as $key =&gt; $value) {
       echo "&lt;DIV id='container'&gt;
       &lt;DIV id='middle'&gt;$value&lt;/DIV&gt;
       &lt;/DIV&gt;";
       //echo "&lt;br /&gt;$key:$value&lt;br /&gt;\n";
    }
  </code></pre>
  
  <p>which displays result one below other,
  like </p>
  
  <pre><code>1234
  5678
  2010-05-20
  5678
  1590
  2010-05-19
  </code></pre>
  
  <p>but i want it in a table like structure like</p>
  
  <pre><code>1234 5678 2010-05-20
  5678 1590 2010-05-19
  </code></pre>
  
  <p>how can i do that?</p>