Welcome Guest, Not a member yet? Register   Sign In
Input Error in Linux : Undefined property: Welcome::$input
#1

(This post was last modified: 04-30-2020, 03:12 PM by jreklund.)

I am learning codeigniter. I am watching a course videos in udemy. I wrote the codes in the video. CODES ARE WORKING ON WINDOWS BUT NOT WORKING IN LINUX Smile  Please help me.


Controller :

Code:
class Welcome extends CI_Controller {

    public function __construct()
    {
        parent::__construct();

    }

    public function index()
    {

        $this->load->view('form');

    }

    public function save(){
        
        echo $this->input->post("name");
    }
    
}


View :


Code:
<form action="<?=base_url("Welcome/save")?>" method="post">

    <input type="text" id="fname" name="name"><br>
    <button type="submit">Gönder</button>
</form>


[Image: Ap6l0E.png]
Reply


Messages In This Thread
Input Error in Linux : Undefined property: Welcome::$input - by musti7084 - 04-30-2020, 02:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB