Welcome Guest, Not a member yet? Register   Sign In
problem with my template
#4

[eluser]Otemu[/eluser]
Hi,

No you shouldn't be echoing/print anything in model/controllers. The only time I might echo/print/dump something in the controller/model is when am testing something and want to see what is returned.

The view is the presentation layer, so anything you need to echo out should be in that view.



Messages In This Thread
problem with my template - by El Forum - 10-22-2013, 11:00 AM
problem with my template - by El Forum - 10-22-2013, 11:55 AM
problem with my template - by El Forum - 10-22-2013, 11:30 PM
problem with my template - by El Forum - 10-23-2013, 02:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB