خرید بک لینک

Vote count: 0

I am using the following code

$this->db->select('moduleId,actionId');
        $this->db->from('role');
        $this->db->where('roleId',$session_data['role']);
        $role=$this->db->get();

        foreach ($role->result_array() as $rows)
        {
            $module=explode(":",$rows['moduleId']);
            $this->db->select('moduleId,moduleName,moduleUrl');
            $this->db->from('module');
            $this->db->where_in('moduleId',$module);
            $row=$this->db->get();
            $result=$row->row_array();
        }

but only one row will come.how to get all the rows,please help me

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 28 اسفند 1394 ساعت: 22:17

صفحه بندی