début création playlist
This commit is contained in:
@@ -33,4 +33,18 @@ class Playlist extends CI_Controller {
|
||||
$delete = $this->model_music->deletePlaylist($playlist_id);
|
||||
redirect('playlist');
|
||||
}
|
||||
}
|
||||
|
||||
public function MenuCreate() {
|
||||
//$this->load->view('layout/header_album');
|
||||
$this->load->view('create_playlist');
|
||||
}
|
||||
|
||||
public function createPlaylistController() {
|
||||
$name_playlist = $this->input->post('name_playlist');
|
||||
$create = $this->model_music->createPlaylist($name_playlist);
|
||||
redirect('playlist');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user