passing value from view to controller to model |
[eluser]new kid[/eluser]
i want to pass a single value from view through href to a function in controller and from there to model how ?? please help
[eluser]SpooF[/eluser]
Code: http://localhost/index.php/controller/method/value Code: class controller extends Controller Not quite sure exactly what your asking.
[eluser]new kid[/eluser]
wat i want to do is pass a value through href to a function in controller and pass it to model from there ineed the value in the model to use in select from where'value' help please
[eluser]SpooF[/eluser]
You can pass variables to the functions in your model the same way you do any other function.
[eluser]Colin Williams[/eluser]
new kid probably doesn't know how functions work.
[eluser]daparky[/eluser]
This should help you: http://ellislab.com/codeigniter/user-gui...uting.html |
Welcome Guest, Not a member yet? Register Sign In |