日期:2014-05-17  浏览次数:20499 次

CI框架搜索中文后分页出错


如图:搜索中文分页出现错误,PHP处理代码我贴下面 求版主帮忙:
 会员列表
 */
    public function member_list(){  //会员列表

        $this->userdoaction_model->getPower(MBMBERPOWER,$this->userinfo,POWER1);

        $this->load->language('admin/member');
        $condition['display'] = 15;
        $data['lang'] = $this->lang->line('HtmlLanguages');
        $data['option']=$this->group_model->getgroupmemberNM();
        $data['options']=array
                        ( 'null'=>$data['lang']['space'],
                          '1'=>$data['lang']['s'],
                          '0'=>$data['lang']['e']
                        );
       // sort($data['option']);
       // $this->load->library('pagination');
        //$config=$this->config->item('page');
        //$config['base_url'] = base_url().$data['lang']['memberlist'];urlencode($kw)
        if($this->input->post('dospost'))
        {

                $condition=array
                    (
                       'group_id'=>$this->input->post('gid'),
                       'username'=>$this->input->post('username'),
                       'status'  =>$this->input->post('status')
                     );
                //print_r($Sel);
                $gid = $this->input->post('gid');
                $status = $this->input->post('status');
                $username = urlencode($this->input->post('username'));
                $condition['display']=15;