Show sourcecode
The following files exists in this folder. Click to view.
index.php
ovn_formular1.php
ovn_formular1mottagare.php
ovn_formular2.php
ovn_formular2mottagare.php
ovn_formular3.php
ovn_formular3mottagare.php
ovn_formular4.php
ovn_formular4mottagare.php
ovn_formular5.php
ovn_formular5mottagare.php
ovn_inkludera1.php
ovn_inkludera1a.php
ovn_inkludera2a1.php
ovn_inkludera2a2.php
ovn_inkludera2a3.php
ovn_inkludera2b1.php
ovn_inkludera2b2.php
ovn_textstrangar1.php
ovn_textstrangar2.php
ovn_textstrangar3.php
ovn_textstrangar4.php
ovn_textstrangar5.php
ovn_textstrangar3.php
24 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="" method="POST">
<input type="number" name="tal1" placeholder="tal 1"><br>
<input type="number" name="tal2" placeholder="tal 2"><br>
<button type="submit">Skicka</button>
</form>
<?php
$tal1 = $_POST["tal1"];
$tal2 = $_POST["tal2"];
$kvot = $tal1 / $tal2;
$kvot = round($kvot, 2);
echo "<br>$tal1 / $tal2 = $kvot";
?>
</body>
</html>