ok
Direktori : /home2/selectio/public_html/gangabuvana/admin/cms/application/models/ |
Current File : /home2/selectio/public_html/gangabuvana/admin/cms/application/models/Model_faq.php |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Model_faq extends CI_Model { public function all_faq() { $query = $this->db->query("SELECT * FROM tbl_faq WHERE lang_id=? ORDER BY faq_id ASC", [$_SESSION['sess_lang_id']]); return $query->result_array(); } }