Welcome Guest, Not a member yet? Register   Sign In
How do you save data from your controllers to your models?
#2

[eluser]Juan Velandia[/eluser]
1. I would create a function in the model to insert data. And I would call it from the controller

2. I would use Active Record as long as I can.

you could check this: http://henrihnr.wordpress.com/2009/04/26...plication/ and really learn a lot.


Messages In This Thread
How do you save data from your controllers to your models? - by El Forum - 11-07-2012, 12:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB