ajout song d un album a une playlist + correction bug supprimer song playlist
This commit is contained in:
@@ -50,8 +50,9 @@ class Model_music extends CI_Model {
|
||||
}
|
||||
|
||||
public function delete_Song($playlist_id,$Song_name){
|
||||
$Song_name = urldecode($Song_name);
|
||||
$this->db->query(
|
||||
"DELETE FROM SongPlaylist Where id = ? AND name LIKE ?",
|
||||
"DELETE FROM SongPlaylist Where id = ? AND name=?",
|
||||
array($playlist_id, $Song_name)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user