ok
Direktori : /proc/self/root/home2/selectio/www/srivarielevators.net/application/models/admin/ |
Current File : //proc/self/root/home2/selectio/www/srivarielevators.net/application/models/admin/Model_menu.php |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Model_menu extends CI_Model { public function show() { $query = $this->db->query("SELECT * from tbl_menu WHERE id=1"); return $query->first_row('array'); } public function update($data) { $this->db->where('id',1); $this->db->update('tbl_menu',$data); } }