index.php
<?php <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>imie</title> </head> <body> <form method="POST" action="dane.php"> wpisz swoje imię<br> <input name="imie"> <input type="SUBMIT" value="Done"> </form> </body> </html> ?>
dane.php
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>dziekuje</title> </head> <body> <? { $n = $_POST["imie"]; } ?> </body> </html>
jest tez plik xxx.txt tam maja sie zapisywac wprowadzone dane jak zrobis aby dopisywalo dane a nie je zmienialo i chyba cos popsulem w else bo jak nic nie wprowadze to crash :/ help