خرید بک لینک

Vote count: 0

I want to show my database to table, but not just repeating in 1 row, I want it repeating in 4 column. In this code, the table show :
No Kursi
01
02
03
04
05
06
07
08
09
10

<table class="table table-bordered table-striped">
      <tr> 
        <th ><strong>No Kursi</strong></th>   
      </tr>
        <?php
        $s = mysqli_query($koneksidb, "SELECT no FROM tkursi ORDER BY no_kursi ASC ");
        $nomor  = 1; 
        while ($kolomData = mysqli_fetch_array($s)) { 
        ?>
      <tr> 
        <td> <input type="radio" name="tambah3" value="O" required 
        <?php echo ($data7==$kolomData['no_kursi']) ?  "checked" : "" ;  ?>/>
        <label  class="inline" for="<?php echo $kolomData['no_kursi']; ?>">
        <?php echo $kolomData['no_kursi']; ?> &nbsp; </label> </td>
      </tr>
      <?php } ?>
    </table> 

I want my table show in every 4 column than next row:
No kursi
01 02 03 04
05 06 07 08
09 10

asked 53 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 11 فروردين 1395 ساعت: 8:29

صفحه بندی