User1649254267 posted
mu suggession is that:
keep the product name in table having id feild and name feild.
create another table for images. this table must have the feilds, productid,imageid.
before inserting value to this table find the max of id and add 1 ;
give that id to image as its id.
best of luck
MS
Plz Mark as Answer if it helps u