Check out the following example, say you submit a form from registration.html page to acknowledge.php page
registration.html:
<form id="form1" action="acknowledge.php" method="post">
<input type="text" name="fullname">
<input type="submit" name="register" value="Sign up">
</form>
acknowledge.php:
<?php
if (isset($_POST['register'])){
echo $_POST['fullname']; / output the value of fullname
}
?>
Read more:
1.
Beginner's Guide to HTML5 & CSS3 - Server Side Story[
^]
2.
php_forms[
^]