title: Submitting a php table with input boxes
body: <p>I've really been racking my brain with this. I'll try to explain it to the best of my ability. It is mainly a data entry form.</p>
  
  <p>First, there are three variables to start with. One is an array of regions (NYC, DC, etc) and the other to is a starting date (ex: 01/01/2012) and an ending date (ex: 1/15/2012)</p>
  
  <p>In previous pages, the user selected the number of regions, selected the starting date to start recording, and the ending date. The intent is to enter 'points' and the dates are basically by week.</p>
  
  <p>This is what the form is supposed to look like: <a href="http://i.imgur.com/9XflP2Z.png" rel="nofollow">http://i.imgur.com/9XflP2Z.png</a></p>
  
  <p>In the boxes aside from the first column and first row, they are all input boxes. So, each input box is associated with the value at each end of the table (for example, the box next to NYC and under 01/01/2012 would enter data for NYC in the date range from 01/01/2012 to 01/08/2012).</p>
  
  <p>My question is: How do I go about building this? Should I use a big 2d array? How would the submit button know which input boxes correspond to which date/region? My initial thought is maybe a hidden value that's like $array[0][x], $array[x][0], but I'm not sure.</p>
  
  <p>I'm not really good at explaining, so I apologize in advance if anyone can't understand what I'm asking.</p>