How to calculate group_concat in codeigniter
问题 I want to groupconcat product name..but it displaying undefined index product name in my view page..I don't know where i am making mistake..please help me to groupconcat product name.. controller code: $this->db->select('GROUP_CONCAT(prdtname)', false); $this->db->from('purchaseitem'); $this->db->group_by('vno'); $query1=$this->db->get()->row_array(); $data['query1']= $query1; I tried groupconcat in sql on my localhost it gives me an expected result..but i don't know where i had done mistake