• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing variable issue

#1
[eluser]MrCrozer[/eluser]
I'm woundering, how this will happen ?
I want to pass the $_GET value from a view to a model, so i can check the db for that item for example.
How to do such a thing, or how to do something like it ?

#2
[eluser]toopay[/eluser]
Code:
// eg : url = http://yoursite.com/controllername?foo=bar, then in controllername's index function,
// you can fetch the $_GET var by...
$this->input->get('foo');


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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