<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="test.php">
<p>Nombre:
<input name="nombre" type="text">
</p>
<p>Edad:
<input name="edad" type="text">
</p>
<p>
<input type="submit" name="Submit" value="Enviar">
</p>
</form>
</body>
</html>
<?php
echo "Tu nombre es: $nombre";
echo "\nTu edad es: $edad";
?>