The name of fields of your HTML form will take on a value (if entered) of $POST['thatfieldname'] So on your second page you would either create short variables like below or use the $POST variables.
$name = $_POST['name'];
$address = $_POST['address'];
$phone = $_POST['phone'];
//and so on then you would just put the values into the db
include("db.php");//whatever you use to connect to the databse
$connect = ($host,$user,$password)
or die("Could not connect to server".mysql_error());
$select = ($db,$connect)
or die("Could not select database".mysql_error());
$sql ="INSERT INTO members (name,address,phone) VALUES ('$name','$address','$phone')";
$result = mysql_query($sql)
or die("Could not execute query".mysql_error());
//do something else