Codeigniter $this->input->post() empty while $_POST is working correctly

前端 未结 13 1356
我在风中等你
我在风中等你 2020-12-05 14:56

On a codeigniter installation, I am trying to use the inbuilt $this->input->post(\'some_data\') function, however $this->input->post()

13条回答
  •  盖世英雄少女心
    2020-12-05 15:06

    Change your form action,

    From this:

    Into this:

    
    

    Basically, you just need to add "index.php" after your base_url():

    action="http://www.yourdomain.com/index.php/yourprocess"

提交回复
热议问题