Moin, warum funzt folgendes einfaches Programm nicht?
<html>
<head>
<title>Formular</title>
</head>
<body>
Bitte tragen Sie 2 Werte ein:
<form action="formular.php" method = "post">
Wert 1: <input name = "w1"><p>
Wert 2: <input name = "w2"><p>
<input type="submit">
<input type="reset">
</form>
</body>
</html>
---------------------------------------------------------------------------------------
//formular.php
<html>
<head>
<title>Vielen Dank für Ihre Eingabe</title>
</head>
<body>
<?php
echo "Wert 1: $w1<br>";
echo "Wert 2: $w2<br>";
?>
<p>
<a href="./formular.htm" title="Erneute Eingabe">Zurück</a>
</body>
</html>
-------------------------------------------------------------------------
Wär echt nett, wenn Ihr mir helfen könntet! danke!
<html>
<head>
<title>Formular</title>
</head>
<body>
Bitte tragen Sie 2 Werte ein:
<form action="formular.php" method = "post">
Wert 1: <input name = "w1"><p>
Wert 2: <input name = "w2"><p>
<input type="submit">
<input type="reset">
</form>
</body>
</html>
---------------------------------------------------------------------------------------
//formular.php
<html>
<head>
<title>Vielen Dank für Ihre Eingabe</title>
</head>
<body>
<?php
echo "Wert 1: $w1<br>";
echo "Wert 2: $w2<br>";
?>
<p>
<a href="./formular.htm" title="Erneute Eingabe">Zurück</a>
</body>
</html>
-------------------------------------------------------------------------
Wär echt nett, wenn Ihr mir helfen könntet! danke!