chanson des albums fin

This commit is contained in:
Wilfried BRIGITTE 2024-05-28 11:55:36 +02:00
parent c98f0758c8
commit c305c85e72

View File

@ -13,5 +13,12 @@ class Albums extends CI_Controller {
$this->load->view('albums_list',['albums'=>$albums]); $this->load->view('albums_list',['albums'=>$albums]);
$this->load->view('layout/footer'); $this->load->view('layout/footer');
} }
public function view($album_id){
$songs = $this->model_music->getSongOfAlbum($album_id);
$this->load->view('layout/header');
$this->load->view('song_album_list',['songs'=>$songs]);
$this->load->view('layout/footer');
}
} }