![]() |
How can I access a get variable with CI? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: How can I access a get variable with CI? (/thread-22259.html) |
How can I access a get variable with CI? - El Forum - 09-02-2009 [eluser]MyDarkPassenger[/eluser] 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. How can I access a get variable with CI? - El Forum - 09-02-2009 [eluser]MyDarkPassenger[/eluser] Never mind my bad missed the config setting. |