$this->dao->select("s_name");
$this->dao->from('oc_t_category_description');
$this->dao->where( 'fk_i_category_id', $qs['fk_i_category_id']);
$this->dao->where( 'fk_c_locale_code', $locale );
$result = $this->dao->get();
$s = $result->result();
print_r($s);
exit;
i am using this query for getting s_name field for a category id
but i am getting empty array even if i have value in the variable $qs['fk_i_category_id'].
pls help me someone, thanks .