Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="menuadmin">
- <h1>Master Kategori</h1>
- <a href='<?=site_url('kategori/input');?>'>Input Form</a>
- <table border="1">
- <thead>
- <tr>
- <th>Kode Kategori </th>
- <th>Kategori</th>
- <th>Aksi</th>
- </tr>
- </thead>
- <tbody>
- <?php
- $i=0;
- foreach ($listKategori->result() as $row)
- {
- ?>
- <tr>
- <td><?=$row->id_kategori ?></td>
- <td><?=$row->kategori ?></td>
- <td><a href="<?php echo base_url() ?>index.php/kategori/updateProduct/<?= $row->id_kategori ?>">Update</a>
- <!----Bagian Delete--->
- <a href="<?php echo base_url() ?>index.php/kategori/deleteProductDb/<?= $row->id_kategori ?>">Delete</a>
- </td>
- </tr>
- <?php
- }
- ?>
- </tbody>
- </table>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement