The second page won't work because the needs an method=POST and action=page.php added to it. A HTML page is static. You won't get the value you typed, unless you process it on the next page.
index.html:
<form action="process.php" method="POST">
<input type="text" name="mytext">
<input type="submit">
</form>
process.php:
<?php
$mytext = $_POST["mytext"];
echo "You typed: $mytext";
?>
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875