I have two tables for products and images and I tried to combine codes of storing a product\'s data and image(s) in my store function( i did this because i want to use only