title: PHP Form to submit multple rows for each product
body: <p>I am trying to build a page that will have a form on it. When the form is submtited I would like to submit all the content from the input fields, but I also would like to post duplicate information where the Products change.</p>
  
  <p>For example..</p>
  
  <p>If a user inputs the following</p>
  
  <p>Name
  Address
  Phone Number
  First Product
  Second Product
  Third Product</p>
  
  <p>it will post to my database sql.</p>
  
  <p><code>| John Doe | 123 Cherry Lane | 555-555-5555 | Product 1 |</code></p>
  
  <p><code>| John Doe | 123 Cherry Lane | 555-555-5555 | Product 2 |</code></p>
  
  <p><code>| John Doe | 123 Cherry Lane | 555-555-5555 | Product 3 |</code></p>
  
  <p>I know how to get the php form submitting, how would I structure a foreach?</p>
  
  <p>Can someone show me an example of how I would achieve this.
  Everything I find is looking to prevent this, but I want it.</p>