• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I access a get variable with CI?

#1
[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.

#2
[eluser]MyDarkPassenger[/eluser]
Never mind my bad missed the config setting.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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