SHARE
TWEET

Untitled

Rofihimam Oct 16th, 2019 (edited) 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <table border="1">
  2.     <thead>
  3.         <tr>
  4.             <th>#</th>
  5.             <th>NIS</th>
  6.             <th>Nama Lengkap</th>
  7.             <th>Jenis Kelamin</th>
  8.             <th>Kelas</th>
  9.             <th>Jurusan</th>
  10.         </tr>
  11.     </thead>
  12.  
  13.     <tbody>
  14.         <?php
  15.             $i = 1;
  16.             while ($siswa = $listSiswa -> fetch_array()) {
  17.         ?>
  18.         <tr>
  19.             <td><?= $i++ ?></td>
  20.             <td><?= $siswa['nis'] ?></td>
  21.             <td><?= $siswa['nama_lengkap'] ?></td>
  22.             <td><?= $siswa['jenis_kelamin'] ?></td>
  23.             <td><?= $siswa['kelas'] ?></td>
  24.             <td><?= $siswa['jurusan'] ?></td>
  25.         </tr>
  26.         <?php } ?>
  27.     </tbody>
  28. </table>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top