Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $no = 1; foreach($track->data as $row) : ?>
- <tr>
- <td><?= $no ?></td>
- <td><a href="<?= $row->link ?>" target="_blank"><?= $row->title ?></a></td>
- <td><img src="<?= $row->album->cover_small ?>" alt=""></td>
- <td>
- <audio controls>
- <source src="<?= $row->preview ?>" type="audio/mpeg">
- Your browser does not support the audio element.
- </audio>
- </td>
- <td>
- <a href="destroy.php?id=<?= $_GET['id'] ?>&songs=<?= $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