title: How to split table column if row reach the maximum height
body: <p>I have a data that loop from database to table. But I only need 1 column except if the row exceed the limit of my height it should be dynamically create another column or transfer the data to the other column and split my datas to that new column, is that possible?</p>
  
  <pre><code>echo'&lt;table&gt;';
  for($res-&gt;result() as $rows){
      echo'&lt;tr&gt;';
          echo'&lt;td&gt;'.$rows-Name.'&lt;/td&gt;';
      echo'&lt;/tr&gt;';
  }
  echo'&lt;/table&gt;';
  </code></pre>
  
  <p>The output is this</p>
  
  <pre><code>Cynthia Abanes 
  Melde Feliciano 
  Chelsea MacKinnon 
  Christine Kostiuk 
  Erick 
  Vicky Maglinao 
  Norman Murehwa 
  Ronda 
  Elvira Rivera 
  Hiyasmin Gajudo 
  Mary Jane Reyes 
  Ronnie De Guzman 
  Annaliza Camino 
  Edwin Marino
  Lucelle Caseres 
  Gayly Reniedo
  Joseph Javier 
  Herminigildo Urbano 
  Herminigildo UrbanO
  </code></pre>
  
  <p>It should be like this</p>
  
  <pre><code>Cynthia Abanes       Ronda             Gayly Reniedo
  Melde Feliciano      Hiyasmin Gajudo   Joseph Javier 
  Chelsea MacKinnon    Mary Jane Reyes   Herminigildo Urbano 
  Christine Kostiuk    Ronnie De Guzman  Herminigildo UrbanO
  Erick                Annaliza Camino 
  Vicky Maglinao       Edwin Marino
  Norman Murehwa       Lucelle Caseres 
  </code></pre>