$this->input->post 값 확인 안됨
안녕하세요,, 어쩌다 보니 오늘또 질문글을 올리게 되었네요,,
아래와 같이 코드를 짯습니다. 이게 분명 되었다가 지금 다시 또 값을 전혀 받아오지 못하고 있는데 혹시 어느부분을 살펴 봐야할까요..?ㅠㅠㅠ
감사합니다~
view
Copy
controller
Copy
$posting_data = array(
'report_day' => $this->input->post('report_day'),
'last_month' => $this->input->post('last_month'),
// 'posting_user_id' => $this->input->post('posting_user_id'),
'total' => $this->input->post('total'),
'posting_type' => $this->input->post('posting_type'),
'hospital_id' => $this->input->post('hospital_id'),
// 'posting_day' => $this->input->post('posting_day'),
);
답변 2개
4년 전
print_r($this->input->post(null, true));
값이 나오나 보세요.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
�
4년 전
넵~ print_r($this->input->post(null, true));로 확인해봤을때 그냥 array()라고 확인됩니다.. 이상하네요,,,ㅠ
댓글을 작성하려면 로그인이 필요합니다.
넓은마인드
4년 전
$posting_data 의 배열 값이 전부 post 된 값을 넣게 되어있는데
그럼 post 된 값이 있는지 먼저 확인해보시기 바랍니다
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인