I need som Codeigniter 3 help.
I have 3 tables: stores, stuffs and stuffs_stores (a pivot table).
stores: id, storeName
stuffs: id, stuffName, price
stuff_stores: id, stores_id, stuffs_id, amount
I can make the CRUDs for table stores and for table stuff but I don't know how to write the many-to-many relation in Codeigniter 3 and display the views the way I want.
I attach 3 hardcoded files in order to get an idea about the views that I want.
So what I need is the Codeigniter3 files that makes this work.