File manager - Edit - /home/wwwroot/camplus.hk/master.camplus.hk/public_html/application/modules/access_control/models/Example_model.php
Back
<?php Class Example_model extends CI_Model{ function getExamples() { return $this->db->get('tb_example')->result_array(); } function getExample($id = 0) { return $this->db->get_where('tb_example',array('id' => $id))->row_array(); } function addExample($data) { return $this->db->insert('tb_example',$data); } function editExample($data,$id) { return $this->db->update('tb_example',$data,array('id' => $id)); } function deleteExample($id) { return $this->db->delete('tb_example',array('id' => $id)); } }
| ver. 1.4 |
Github
|
.
| PHP 7.2.34 | Generation time: 0.47 |
proxy
|
phpinfo
|
Settings