title: How can i create table row and column vertically
body: <p>I wanted the following table to be diaplayed vertically.</p>
  
  <pre><code>&lt;table id="news" class="table table-striped table-responsive"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
            &lt;th&gt;Name&lt;/th&gt;
            &lt;th&gt;Email&lt;/th&gt;
            &lt;th&gt;Phone&lt;/th&gt;
            &lt;th&gt;City&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;?php
          for($i=0; $i&lt;5; $i++) 
          { ?&gt;
          &lt;tr&gt;
              &lt;td&gt;
                &lt;input type="text"/&gt;
              &lt;/td&gt;
              &lt;td&gt;
                 &lt;input type="email"/&gt;
              &lt;/td&gt;
              &lt;td&gt;
                 &lt;input type="number"/&gt;
              &lt;/td&gt;
              &lt;td&gt;
                 &lt;input type="text"/&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
  
          &lt;?php
          }
          ?&gt;           
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The Table will be displayed in below format
  <a href="https://i.stack.imgur.com/JGRvR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JGRvR.png" alt="enter image description here"></a></p>
  
  <p>I want that to be displayed like the below format.</p>
  
  <pre><code>Row0 Name [input]
  Row0 Email [input]
  Row0 Phone [input]
  Row0 City [input]
  
  Row1 Name [input]
  Row1 Email [input]
  Row1 Phone [input]
  Row1 City [input]
  
  .
  .
  
  Row4 Name [input]
  Row4 Email [input]
  Row4 Phone [input]
  Row4 City [input]
  </code></pre>
  
  <p>I want the html table to displayed like the above. Your help is highly appreciated. Thanks in advance.</p>