czytam książke z 2004 roku "php mysql absolute beginner"
i mam jeden plik whatsName.html:
<html>
<head>
<title>What’s your name?</title>
</head>
<body>
<h1>What’s your name?</h1>
<h3>Writing a form for user input</h3>
<form method = "post"
action = "hiUser.php">
Please type your name:
<input type = "text"
name = "userName"
value = "">
<br>
<input type = "submit">
</form>
</body>
</html>
a drugi plik hiUser.php:
<html>
<head>
<title>Hi User</title>
</head>
<body>
<h1>Hi User</h1>
<h3>PHP program that receives a value from "whatsName"</h3>
<?
print "<h3>Hi there, $userName!</h3>";
?>
</body>
</html>
problem: nie wyskakuje imię moje po wpisaniu a poza tym wszystko ok