Message: Invalid argument supplied for foreach in CodeIgniter

后端 未结 3 2003
名媛妹妹
名媛妹妹 2021-01-17 06:06

i am facing few issues during an application of Codeigniter -- Created an function like

function searchUnivtab() {
        $country = $this->input->po         


        
3条回答
  •  臣服心动
    2021-01-17 06:29

    Remove @ in the following line to see if it produces any error so replace

    $data = @$this->get->getSearchedUniversityTab($country, $state, $level, $degType[1]);
    

    with

    $data = $this->get->getSearchedUniversityTab($country, $state, $level, $degType[1]);
    

提交回复
热议问题