SHARE
TWEET

Untitled

Rofihimam Oct 16th, 2019 89 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.             <th>Alamat</th>
  13.             <th>Golongan Darah</th>
  14.             <th>Nama Ibu Kandung</th>
  15.         </tr>
  16.     </thead>
  17.  
  18.     <tbody>
  19.         <?php
  20.             $i = 1;
  21.             while ($siswa = $listSiswa -> fetch_array()) {
  22.         ?>
  23.         <tr>
  24.             <td><?= $i++ ?></td>
  25.             <td><?= $siswa['nis'] ?></td>
  26.             <td><?= $siswa['nama_lengkap'] ?></td>
  27.             <td><?= $siswa['jenis_kelamin'] ?></td>
  28.             <td><?= $siswa['kelas'] ?></td>
  29.             <td><?= $siswa['jurusan'] ?></td>
  30.             <td><?= $siswa['alamat'] ?></td>
  31.             <td><?= $siswa['golongan_darah'] ?></td>
  32.             <td><?= $siswa['nama_ibu_kandung'] ?></td>
  33.         </tr>
  34.         <?php } ?>
  35.     </tbody>
  36. </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