Need Help with temperature converter
Posted: Wed May 19, 2004 12:58 pm
Hey I am having problems trying to get this code to work on an IIS server it works fine on my apache server both have registered globals turned off
what this code does is you enter in a form degrees in celsius and it converts it to farenheit but for some reason on the iis server it just displays the number 32 any help is appreciated
what this code does is you enter in a form degrees in celsius and it converts it to farenheit but for some reason on the iis server it just displays the number 32 any help is appreciated
Code: Select all
<?php
$result = ($degrees*9)/5+32;
echo "<p class="style2">";
echo $result;
echo " Farenheit</p>";
?>