I need help converting my temperature from either Fahrenheit to Celsius and vice versa.
Please someone look over my code.
[php]
<?php function ftoc($fahrenheit) { $celsius = ($fahrenheit - 32) * 5/9; } function ctof($celsius){ $fahrenheit = ($celsius * 5/9) + 32; } ?>[/php]
Temperature Conversion
Degrees: Celsius Fahrenheit