Our convert temperature PHP consists of four IF statements, one for each of the unit measurements available on our form. The PHP then makes the appropriate conversions based on the users choice and outputs a table. The complete code for this script can be downloaded here.



