<h2>Uang Kas Himatif</h2> <table class="table table-bordered"> <thead> <tr> <th>no</th> <th>jumlah</th> <th>Tanggal dibuat</th> <th>Tanggal berakhir</th> <th>Deskripsi</th> <th>aksi</th> </tr> </thead> <tbody> <?php $nomor=1; ?> <?php $ambil=$koneksi->query("SELECT * FROM uang_kas"); ?> <?php while($pecah = $ambil->fetch_assoc()){ ?> <tr> <td><?php echo $nomor; ?></td> <td><?php echo $pecah['jumlah_bayar']; ?></td> <td><?php echo $pecah['tanggal_dibuat']; ?></td> <td><?php echo $pecah['tanggal_berakhir']; ?></td> <td><?php echo $pecah['deskripsi_pembayaran']; ?></td> <td> <a href="" class="btn-danger btn">Hapus</a> <a href="" class="btn btn-warning">Update</a> </td> </tr> <?php $nomor++; ?> <?php } ?> </tbody> </table>