dbsetting
<?php class Dbsetting extends CI_Model { function Dbsetting() { // Call the Model constructor parent::__construct(); $this->load->database(); } public function insert($tablename,$data) { if($this->db->insert($tablename,$data)) { return true; } else { return false; } return true; } function getInfo_($query,$return='') { $query=$this->db->query($query); if($return=='') { return $query->row(); } else { return $query->result(); } } function delete($table_name,$array) { foreach($array as $key=>$value) { $this->db->where($key,$value); } $this->db->delete($table_name); return true; } public function update($table_name,$array,$data) { foreach($array as $key=...