Tag: insert

[CodeIgniter 4 video lesson] – Models – CRUD with relationship (Insert) – part 1

Hey guys!!!

Continuing with the series on the CodeIgniter 4 framework, in today’s video I start the construction of the “Products” CRUD (which is a table that receives a list of the “Categories” table, using the foreign key “category_id”).

In this first part, I create the “ProductModel” and the controller “Products”. In addition, I also create the view “products_form” and in it I assemble the form for product registration.

Continue lendo