Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="tambah.php">Tambah Data</a>
- <table border="1">
- <thead>
- <tr>
- <th>#</th>
- <th>NIS</th>
- <th>NAMA LENGKAP</th>
- <th>Jenis Kelamin</th>
- <th>Kelas</th>
- <th>Jurusan</th>
- <th>Gol Darah</th>
- <th>Alamat</th>
- <th>Nama Ibu Kandung</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['gol_darah'] ?> </td>
- <td> <?=$siswa['alamat'] ?> </td>
- <td> <?=$siswa['ibu_k'] ?> </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement