Laundry and dishwasher checkboxes

Laundry and dishwasher checkboxes added to the sizing calculator.
Dishwasher adds 0.5 GPM to total flow when checked, while laundry adds
1.5.
Calculator form validation and typo fix

Typo fix in index and form validation added to calculator to prompt
user to fill in temperature field
Calculator automatic GPM to LPM update

Calculator changed so that the flow will automatically switch to LPM
options when C is selected. It will also switch back to GPM if F is
initially selected
#tab_id links fixed

js added to fix the tab linking problem. now adding #use- will link to
the proper application tabs on the home page and #tech-tab- will link
to the proper tabs on the technology page. Also some minor details
changed in calculator which should help to prevent bugs
anchor tag clean up for tab links

name removed and id changed to class in index and technology.php
mysql submit code

submit.php added and ajax code set up in calculator.js to make sure
that people aren’t redirected to another page upon submitting
calculator. currently, if c is selected only LPM data is submitted and
if f is selected only GPM data is submitted. laundry and dishwasher are
left out for the time being because of bugs caused when i tried to add
them earlier.
laundry and washing added to data submit

ajax code moved around in calculator.js and variables changed to allow
the washing machine and laundry checkbox values to be submitted to
mysql upon calculator submission.
Recommended M1 number now submits to database

ajax code moved again to allow for the recommended number of MODEL 1s
to be submitted to the database with the other calculator inputs. This
data is submitted to a column labeled ‘model’
time submit to database updated
C and F temp inputs separated in database

C and F now submitted to separate columns depending on if C or F was
selected in the calculator. This should make it easier to calculate
average temperatures.
Monthly typo fixed
initial geolocation code exploration

Tech.php now asks for your location upon reaching the page. The
calculator is also set up to submit latitude, longitude, accuracy,
altitude, altitude accuracy, heading and speed to a mysql database.
At the moment there are a lot of bugs. The largest of which is that the
inputs will not submit to mysql if the user denies the site access to
their location. The page will also redirect to an error message after
giving the user the calculator results.
The reason that this is happening is that the geolocation variables are
globally defined in calculator.js because I couldn’t figure out how to
call them with the ajax code when they were defined locally within the
(success) function.
Geolocation removed

geolocation removed and icon added to technology.php
Laundry and dishwasher checkboxes

Laundry and dishwasher checkboxes added to the sizing calculator.
Dishwasher adds 0.5 GPM to total flow when checked, while laundry adds
1.5.
Calculator form validation and typo fix

Typo fix in index and form validation added to calculator to prompt
user to fill in temperature field
Calculator automatic GPM to LPM update

Calculator changed so that the flow will automatically switch to LPM
options when C is selected. It will also switch back to GPM if F is
initially selected
#tab_id links fixed

js added to fix the tab linking problem. now adding #use- will link to
the proper application tabs on the home page and #tech-tab- will link
to the proper tabs on the technology page. Also some minor details
changed in calculator which should help to prevent bugs
anchor tag clean up for tab links

name removed and id changed to class in index and technology.php
mysql submit code

submit.php added and ajax code set up in calculator.js to make sure
that people aren’t redirected to another page upon submitting
calculator. currently, if c is selected only LPM data is submitted and
if f is selected only GPM data is submitted. laundry and dishwasher are
left out for the time being because of bugs caused when i tried to add
them earlier.
laundry and washing added to data submit

ajax code moved around in calculator.js and variables changed to allow
the washing machine and laundry checkbox values to be submitted to
mysql upon calculator submission.