Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $no = 1; foreach($playlist->data as $row) : ?>
- <tr>
- <td><?= $no ?></td>
- <td><a href="../track/index.php?id=<?= $row->id ?>"><?= $row->title ?></a></td>
- <td><img src="<?= $row->picture ?>" alt=""></td>
- <td>
- <a href="edit.php?id=<?= $row->id ?>" class="btn btn-warning"><i class="fas fa-edit"></i> Ubah</a>
- <a href="destroy.php?id=<?= $row->id ?>" class="btn btn-danger"><i class="fas fa-trash"></i> Hapus</a>
- </td>
- </tr>
- <?php $no++; endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement