delete song

This commit is contained in:
2024-06-05 17:38:12 +02:00
parent 9d492207b0
commit 8b0ec23975
3 changed files with 24 additions and 4 deletions

View File

@@ -4,7 +4,10 @@
foreach($songPlaylists as $songPlaylist){
echo "<div><article>";
echo "<header class='short-text'>";
echo "<form action='" . base_url("index.php/Playlist/deleteSong/{$id_playlist -> id}/{$songPlaylist-> name}") . "' method='post'>";
echo "{$songPlaylist->name}";
echo "<button type='submit' class='delete-button'>Delete</button>";
echo "</form>";
echo "<br>";
echo "</header>";
echo "</article></div>";