SHARE
TWEET

Untitled

Rofihimam Oct 23rd, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <link rel="stylesheet" type="text/css" href="assets/index.css">
  2. <link href="https://fonts.googleapis.com/css?family=Bree+Serif&display=swap" rel="stylesheet">
  3.  
  4. <table border="1" align="center" cellspacing="5">
  5.     <thead>
  6.         <tr>
  7.             <th>#</th>
  8.             <th>NIS</th>
  9.             <th>Nama Lengkap</th>
  10.             <th>Jenis Kelamin</th>
  11.             <th>Kelas</th>
  12.             <th>Jurusan</th>
  13.             <th>Alamat</th>
  14.             <th>Golongan Darah</th>
  15.             <th>Nama Ibu Kandung</th>
  16.             <th colspan="2">Aksi</th>
  17.         </tr>
  18.     </thead>
  19.  
  20.     <tbody>
  21.         <?php
  22.             $i = 1;
  23.             while ($siswa = $listSiswa->fetch_array()) {
  24.         ?>
  25.         <tr>
  26.             <td><?= $i++ ?></td>
  27.             <td><?= $siswa['nis'] ?></td>
  28.             <td><?= $siswa['nama_lengkap'] ?></td>
  29.             <td><?= $siswa['jenis_kelamin'] ?></td>
  30.             <td><?= $siswa['kelas'] ?></td>
  31.             <td><?= $siswa['jurusan'] ?></td>
  32.             <td><?= $siswa['alamat'] ?></td>
  33.             <td><?= $siswa['golongan_darah'] ?></td>
  34.             <td><?= $siswa['nama_ibu_kandung'] ?></td>
  35.             <td>
  36.                 <div class="edit"><a href="edit.php?nis=<?= $siswa['nis'] ?>">Edit</a></div>
  37.             </td>
  38.             <td>
  39.                 <div class="hapus"><a href="hapus.php?nis=<?= $siswa['nis'] ?>">Hapus</a></div>
  40.             </td>
  41.         </tr>
  42.         <?php } ?>
  43.         <tr>
  44.             <td align="center" colspan="11" class="tambah">
  45.                 <div class="tambah"><a href="tambah.php">Tambah Data</a></div>
  46.             </td>
  47.         </tr>
  48.     </tbody>
  49. </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