title: Programming a grid table php
body: <p>I have a grid table (example attached).  The user will input the width (column) and then the height (row) into a form.  The program then has to output the price based on the inputted data, so if you look at the example, if the width is 800 and the height is 1000 the price will be 337.  Any ideas how to approach this?  I've never done something like this before.</p>
  
  <p>I know this is a broad question .. but any direction or tutorial will be appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/JkTES.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JkTES.png" alt="enter image description here"></a></p>