Show sourcecode
The following files exists in this folder. Click to view.
ovning1.php
ovning2.php
ovning3.php
ovning4.php
ovning5.php
test.php
ovning1.php
16 lines UTF-8 Windows (CRLF)
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>gr ovning 1</title>
</head>
<body>
<?php
$fahrenheit = 68;
$celsius = 5 / 9 * ($fahrenheit - 32);
echo "Fahrenheit: " . $fahrenheit . "°F<br>";
echo "Celsius: " . $celsius . "°C";
?>
</body>
</html>