How to combine 3 Many to Many tables with eloquent in the laravel Hi Friends, please help me,
How do you combine the following three tables with eloquent in laravel?
The following table structure and figures: (https://i.stack.imgur.com/BfISA.jpg)
Member table structure {member_id: primary key, name, created_at, updated_at}
List table structure {list_id: primary key, member_id: foregn key, price_id: foreign key, created_at, updated_at}
Price table structure {price_id: primary key, name_price, created_at, updated_at}
Can you give me sample source code for view.blade, controller and model.
Thank you, your answer is very meaningful