début albums + son
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user