Pass form fields from application to view? |
(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! ***/ |
Messages In This Thread |
Pass form fields from application to view? - by Isterklister - 03-09-2020, 03:53 AM
RE: Pass form fields from application to view? - by includebeer - 03-09-2020, 04:02 AM
RE: Pass form fields from application to view? - by Isterklister - 03-09-2020, 05:20 AM
RE: Pass form fields from application to view? - by tweenietomatoes - 03-09-2020, 07:27 AM
RE: Pass form fields from application to view? - by includebeer - 03-09-2020, 08:00 AM
|