crea BD playlist + liste des playlists

This commit is contained in:
2024-05-30 16:14:38 +02:00
parent 83f2697666
commit f1638ed865
7 changed files with 44 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Playlist extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model('model_music');
}
public function index(){
$playlists = $this->model_music->getPlaylist();
//$this->load->view('layout/header_album');
$this->load->view('playlist_list', ['playlists' => $playlists]);
//$this->load->view('layout/footer_album');
}
}