title: Foreach returns a column and I have to turn it into a table
body: <p>I have the following JSON table</p>
  
  <pre><code>[
      ["TITLE", "CONTENT", "DATE"],
      ["Monday", "Content of the monday post goes here", "09:55\n10:00\n10:30\n11:00\n15:45"],
      ["Tuesday", "Content of the tuesday day goes here", "08:00\n11:00\n16:00\n16:00\n21:00\n"],
  ]
  </code></pre>
  
  <p>I use a <code>foreach</code> to get the <code>json</code> contents</p>
  
  <pre><code>$days = json_decode(file_get_contents('json_file'));
          foreach($days as $item){
              if(isset($item)){
                  $firstColumn = $item;
              }
              echo $firstColumn[0];
  
          };
  </code></pre>
  
  <p><code>$firstColumn[0]</code> returns "Title", "Monday", "Friday" </p>
  
  <p>How can I add it in a table? </p>
  
  <pre><code>&lt;table class="table"&gt;
     &lt;thead&gt;
       &lt;tr&gt;
        &lt;th&gt; Title &lt;/th&gt;
        &lt;th&gt;Content&lt;/th&gt;
        &lt;th&gt;Date&lt;/th&gt;
       &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
         &lt;td&gt;&lt;/td&gt;
         &lt;td&gt;&lt;/td&gt;
         &lt;td&gt;&lt;/td&gt;
        &lt;/tr&gt;
       &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>