Need help in updating the tablesI have array of data coming from a form which I'm inserting in my DB. I have 5 tables
- product
- filter
- product_filter
- heater
- product_heater
- id int(5)
- product text
- cost text
- details text
- id int(5)
- filter text
- imgpath text
- id int(5)
- id_product int(5)
- id_filter int(5)
- id int(5)
- heater text
- imgpath text
- id int(5)
- id_product int(5)
- id_heater int(5)
- many-to-many relation between product & heater
- many-to-many relation between product & Filter