Welcome Guest, Not a member yet? Register   Sign In
GET function does not work.
#8

@HarrysR,

How are you passing the data from the controller to the model? In your controller you are not passing the get data to the model. You are just calling the model. You should be doing something like this (within the controller) ...

$data['pets'] = $this->pet_model->filter_pets($this->input->get('petStatus'),$this->input->get('petType'));
Reply


Messages In This Thread
GET function does not work. - by HarrysR - 08-14-2018, 02:21 PM
RE: GET function does not work. - by php_rocs - 08-14-2018, 04:14 PM
RE: GET function does not work. - by HarrysR - 08-14-2018, 05:40 PM
RE: GET function does not work. - by php_rocs - 08-15-2018, 04:47 AM
RE: GET function does not work. - by HarrysR - 08-15-2018, 08:58 AM
RE: GET function does not work. - by php_rocs - 08-15-2018, 09:10 AM
RE: GET function does not work. - by HarrysR - 08-15-2018, 09:43 AM
RE: GET function does not work. - by php_rocs - 08-15-2018, 10:25 AM
RE: GET function does not work. - by HarrysR - 08-15-2018, 11:28 AM
RE: GET function does not work. - by HarrysR - 08-15-2018, 12:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB