SHARE
TWEET

Untitled

Rofihimam Oct 16th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a href="tambah.php">Tambah Data</a><br><br>
  2.  
  3. <table border="1">
  4.     <thead>
  5.         <tr>
  6.             <th>#</th>
  7.             <th>NIS</th>
  8.             <th>Nama Lengkap</th>
  9.             <th>Jenis Kelamin</th>
  10.             <th>Kelas</th>
  11.             <th>Jurusan</th>
  12.         </tr>
  13.     </thead>
  14.  
  15.     <tbody>
  16.         <?php
  17.             $i = 1;
  18.             while ($siswa = $listSiswa -> fetch_array()) {
  19.         ?>
  20.         <tr>
  21.             <td><?= $i++ ?></td>
  22.             <td><?= $siswa['nis'] ?></td>
  23.             <td><?= $siswa['nama_lengkap'] ?></td>
  24.             <td><?= $siswa['jenis_kelamin'] ?></td>
  25.             <td><?= $siswa['kelas'] ?></td>
  26.             <td><?= $siswa['jurusan'] ?></td>
  27.         </tr>
  28.         <?php } ?>
  29.     </tbody>
  30. </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