mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-11-10 05:11:42 +01:00
15 lines
325 B
PHP
15 lines
325 B
PHP
|
<?php
|
||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||
|
|
||
|
class Utilisateur_model extends CI_Model {
|
||
|
|
||
|
public function __construct(){
|
||
|
parent::__construct();
|
||
|
$this->load->database();
|
||
|
}
|
||
|
|
||
|
public function insert_user($data){
|
||
|
return $this->db->insert('utilisateur', $data);
|
||
|
}
|
||
|
}
|