title: tables relation in database redundant
body: <p>i have one product table 
  which have </p>
  
  <p>product_id name price</p>
  
  <p>and i want to store multiple images of single product here product_id is primary key and auto increment so how would store i store multiple images of single product.</p>
  
  <p>one solution is define anothe table which has product_id as a foreign key</p>
  
  <p>that is</p>
  
  <p>product_id images</p>
  
  <p>suppose i add </p>
  
  <p>product_name moblie it id is auto incerment.....so how would i store the multiple images of this as i does not know what product_id is genertaed as it is auto increment?????</p>
  
  <p>please help anyone????</p>