load->database(); $this->load->library('session'); } #--------------------------------------------------------------------------- # PURPOSE : select # CREATE : 2018-04-04 #--------------------------------------------------------------------------- function site_info_select($idx){ $this->db->where('idx', $idx); $this->db->from('site_info'); $res = $this->db->get(); $row = $res->row_array(); return $row; } } ?>