1.) Do you know HTML?
IF YES: It's a basic form with the php file as the action
IF NO: Learn HTML
<form action="post.php" method="post">
Name: <input type="text" name="name"><br>
Age: <input type="text" name="age"><br>
<input type="submit" name="submit" value="submit">
</form>
post.php
<?php
echo 'Hello. Your name is '.$_POST['name'].' and you claim to be '.$_POST['age'].' year(s) old.';
?>