Welcome Guest, Not a member yet? Register   Sign In
Pass form fields from application to view?
#5

(03-09-2020, 07:27 AM)tweenietomatoes Wrote: basically you can just write everything in controller and just echo the html.

Yes but it’s not best practice to echo directly in controller and it doesn’t follow the MVC pattern. For a quick test or for debugging it’s ok we all do it. But for the rest, it’s always better to create a view.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: Pass form fields from application to view? - by includebeer - 03-09-2020, 08:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB