load->database(); $this->load->library('session'); } #--------------------------------------------------------------------------- # PURPOSE : insert # CREATE : 2018-05-02 #--------------------------------------------------------------------------- function search_keyword_log_insert($req_data){ $now_date = date("Y-m-d H:i:s"); $req_data['reg_date'] = $now_date; $row = $this->db->insert('search_keyword_log', $req_data); return $row; } } ?>