Commit de Louay : Correction de bug

This commit is contained in:
stiti
2024-05-20 22:42:38 +02:00
parent b2b5e45015
commit 4e02203e84
11 changed files with 135 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Model_artist extends CI_Model {
public function __construct(){
$this->load->database();
}
public function getArtisteById($artiste_id){
$query = $this->db->query("SELECT * FROM artist WHERE id = ?", array($artiste_id));
return $query->row();
}
}
?>