add rssa-pintar to git
This commit is contained in:
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
class M_proseshistory extends CI_Model {
|
||||
|
||||
function index() {
|
||||
$query = $this->db->get('laporan_proses_history');
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
function insert($tabel,$ket) {
|
||||
$insert_data = array(
|
||||
'lph_tabel' => $tabel,
|
||||
'lph_keterangan' => $ket,
|
||||
'lph_query' => $this->db->last_query(),
|
||||
'lph_datetime' => date("Y-m-d H:i"),
|
||||
'lph_user_id' => $this->session->userdata('s_ID_User_rssapintar'),
|
||||
);
|
||||
$insert = $this->db->insert('laporan_proses_history', $insert_data);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user