ajout liste artiste

This commit is contained in:
2024-05-22 12:04:00 +02:00
parent 4782c1edc2
commit cb376b0e4c
3 changed files with 42 additions and 0 deletions

View File

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