Form Arithmetic with PHP

Enter values in the 'number of items' column and push the 'calculate' button
  Item Name Num
of
items
Price per
Item
Item Totals
1 $ $
2 $ $
3 $ $
Subtotal - $
Tax - $
Total - $