• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.