How do you save data from your controllers to your models? |
[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:06 PM
How do you save data from your controllers to your models? - by El Forum - 11-07-2012, 12:54 PM
How do you save data from your controllers to your models? - by El Forum - 11-07-2012, 01:23 PM
How do you save data from your controllers to your models? - by El Forum - 11-07-2012, 01:29 PM
|