Emirkirax adlı üyeden alıntı: mesajı görüntüle
hocam böyle bir görüntü aldım
From etiketi eksik açılmış.

<form action="" method="post">
    Ramp Slope: <input type="text" name="slope"><br>
    Ramp Height (cm): <input type="text" name="height"><br>
    <input type="submit" name="submit" value="Calculate">
</form>
 
<?php
if (isset($_POST['submit'])) {
    $slope = floatval($_POST['slope']);
    $height = floatval($_POST['height']);
    $run = $height / $slope;
    echo "Rampa Uzunluğu: " . number_format($run, 2) . " cm";
}
?>
Bu şekilde kaydedin, tekrar sunucuya gönderin.