Welcome Guest, Not a member yet? Register   Sign In
How can I access a get variable with CI?

I was looking through the guide and it appears you access get with $this->input->get('variable') however the docs also say that ci destroys the global get array because it doesn't use it. I'm a little confused by the get premise due to this. When I wrote my script I had the form pass the data using get but I couldn't access the data with $this->input->get in my controller, however $this->input->post worked fine. How can I use get with CI. I'm not opposed to URIs but I can't pass a form with them.

Never mind my bad missed the config setting.

Theme © iAndrew 2016 - Forum software by © MyBB