0
나는이 코드 조각을 시도하고이 오류 기능() {CodeIgniter는 컬 오류
$post = array();
//get all the data from the form into an array
$post = array(
'name' => $this->input->post('name'),
'abbrev' => $this->input->post('abbrev'),
'long_name' => $this->input->post('long_name'),
'long_abbrev' => $this->input->post('long_abbrev'),
'url' => $this->input->post('url'),
'description' => $this->input->post('description')
);
//encode the data and set it as output to push to api
$json_data=json_encode($post);
$this->curl->post('http://localhost:8888/api/colleges', $json_data);
을 만들 받고 계속 그리고 이것은 내가
심각도가 얻을 오류가 발생했습니다 :주의
메시지 : 정의되지 않은 속성 : Colleges :: $ curl
파일 이름 : controllers/colleges.php