Traditional Form Handling
<form action="action.php" method="POST">
Your name: <input type=text name=name><br>
You age: <input type=text name=age><br>
<input type=submit>
</form>
Output
Your name:
You age:
action.php
Hi <?php echo $_POST['name']?>.  
You are <?php echo $_POST['age']?> years old.