<html>
<head><title> form.htm
</title></head>
<body>
<form action="form.php" method="POST">
What is your name?
<input type="text" name="fname">
<br>
<br>
<input type="submit">
</form></body></html>
[php]
form.php
welcome.Your name is:
<?php
echo $_POST[“fname”];
?>
[/php]