Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Fajar Sidiq Arrizal XI RPL 2 Index</title>
- <link rel="stylesheet" type="text/css" href="asset/index.css">
- </head>
- <body>
- <table border="1" cellspacing="0" cellpadding="5">
- <thead>
- <tr>
- <th>#</th>
- <th>NIS</th>
- <th>Nama Lengkap</th>
- <th>Jenis Kelamin</th>
- <th>Kelas</th>
- <th>Jurusan</th>
- <th>Golongan Darah</th>
- <th>Nama Ibu Kandung</th>
- <th>Alamat</th>
- <th>Aksi</th>
- </tr>
- </thead>
- <tbody>
- <?php
- $i = 1;
- while($siswa = $listsiswa->fetch_array()){
- ?>
- <tr>
- <td><?= $i++ ?></td>
- <td><?= $siswa['nis'] ?></td>
- <td><?= $siswa['nama_lengkap'] ?></td>
- <td><?= $siswa['jenis_kelamin'] ?></td>
- <td><?= $siswa['kelas'] ?></td>
- <td><?= $siswa['jurusan'] ?></td>
- <td><?= $siswa['goldar'] ?></td>
- <td><?= $siswa['ibu'] ?></td>
- <td><?= $siswa['alamat'] ?></td>
- <td>
- <a href="edit.php?nis=<?= $siswa['nis'] ?>">Edit</a> |
- <a href="delete.php?nis=<?= $siswa['nis'] ?>">Delete</a>
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- <center>
- <button><a href="tambah.php">Tambah Data</a>
- </button>
- </center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement