début albums + son

This commit is contained in:
2024-05-27 13:08:39 +02:00
parent d04b8c19e2
commit 1e2735d5ba
4 changed files with 25 additions and 1 deletions

View File

@@ -27,4 +27,14 @@ class Model_music extends CI_Model {
);
return $query->result();
}
public function getSongOfAlbum(){
$query = $this->db->query(
"SELECT artist.id, artist.name
FROM artist
Group by artist.id
"
);
return $query->result();
}
}