Welcome Guest, Not a member yet? Register   Sign In
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');




Theme © iAndrew 2016 - Forum software by © MyBB