Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form name="indonesia" action="<?php echo site_url('admin/indonesia/delete_multiple'); ?>">
- <button type="button" class="btn btn-danger">Hapus</button>
- <table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
- <thead>
- <tr>
- <th>
- <button type="button" class="btn btn-info" onClick="check_all()" >Check</button>
- <button type="button" class="btn btn-success" onClick="uncheck_all()" >Un-Check</button>
- </th>
- <th>judul</th>
- <th>penulis</th>
- <th>stat</th>
- </tr>
- </thead>
- <tbody>
- <?php
- foreach ($ListIndonesia->result() as $row)
- {
- ?>
- <tr>
- <td><input type="checkbox" name="item[]" id="item[]" value="<?=$row->id ?>"></td>
- <td><?=$row->judul ?></td>
- <td><?=$row->penulis ?></td>
- <td><?=$row->stat ?></td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement