Welcome Guest, Not a member yet? Register   Sign In
A little help with my first app...
#11

[eluser]n0xie[/eluser]
Yeah you would have to change your delete link to a delete form. (you can also fix it using javascript but that's a bit out of the scope of your question). In the form you would set the method to POST and usually add an hidden input field with the id in it. In your controller you would grab your hidden id value and use that as parameter for your model, instead of the id passed via the URL.
#12

[eluser]invision[/eluser]
Many thanks again n0xie.

I'm going to take a bit of time to look over where I am with the code right now. I *may* come back with a query over form validation/sending errors to the user, and my update function.


Thanks again for all your help




Theme © iAndrew 2016 - Forum software by © MyBB