Question: how to pass data from view to controller in mvc php?
Answer: View. Created a <form method='post'> which contains 3 textboxes and submit button. ...  Controller. The $this->input->post() method returns an Associative array of submitted values. ...  Demo. Fill the form and click the submit button. ...  View. ...  Controller. ...  Demo. ...  View. ...  Controller.