Make a form like this, method being either POST or GET, and name all of your inputs.
<form action="action.php" method="post">
<input type="text" name="name" />
<form>Then use this in action.php:
<?php
$name = $_POST["name"]; // If you used POST
$name = $_GET["name"]; // If you used GET
$name = $_REQUEST["name"]; // If you want to use both
?>