WebbServerProg/www/public/Moment-1/currency.php

19 lines
297 B
PHP
Raw Normal View History

2024-08-23 13:56:58 +00:00
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8">
<title>Valuta</title>
</head>
<body>
<h1>Valutan i kronor</h1>
<?php
$dollar = $_POST['currency'];
$sek = $dollar * 9.7;
echo "<p>$dollar $ = $sek kr</p>";
include("../footer.html");
?>
</body>
</html>