Welcome Guest, Not a member yet? Register   Sign In
HTML in Model
#5

NOP

Models should contain business logic that is related to the DB table the model is associated with

Controllers should get data from models and/or libraries and pass them to the view

Views should have HTML code.

HTML code should never be in your controllers MUCH LESS your models.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply


Messages In This Thread
HTML in Model - by AngelTrader - 09-25-2019, 11:13 PM
RE: HTML in Model - by ciadmin - 09-25-2019, 11:26 PM
RE: HTML in Model - by AngelTrader - 09-25-2019, 11:35 PM
RE: HTML in Model - by dave friend - 09-26-2019, 06:11 AM
RE: HTML in Model - by albertleao - 09-26-2019, 10:14 AM
RE: HTML in Model - by ciadmin - 09-26-2019, 10:30 AM
RE: HTML in Model - by AngelTrader - 09-26-2019, 10:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB