PHP Code:
<HTML>
<HEAD>
<TITLE>Form Resluts Page</TITLE>
<BODY leftmargin="10%" rightmargin="20%" bottommargin="25">
<?php
/* This page handles the received data from the form "bpaforms.html". */
$First = $_POST['First'];
$Last = $_POST['Last'];
$Address = $_POST['Address'];
$City = $_POST['city'];
$State = $_POST['State'];
$ZIP = $_POST['ZIP'];
$phone = $_POST['phone'];
$email = $_POST['email'];
$Child1 = $_POST['Child1'];
$Age1 = $_POST['Age1'];
$Sex1 = $_POST['Sex1'];
$Child2 = $_POST['Child2'];
$Age2 = $_POST['Age2'];
$Sex2 = $_POST['Sex2'];
$Child3 = $_POST['Child3'];
$Age3 = $_POST['Age3'];
$Sex3 = $_POST['Sex3'];
print "Thank you for submitting your information, $First.<BR>\n";
print "We show your address as $Address \n";
print "in $City, $State $ZIP.<br>\n";
print "Your phone number is $phone \n";
print "and your e-mail address is $email.<BR>\n";
print "You have asked us to send you information about our schools for your child(ren),<BR>
$Child1, age $Age1 ($Sex1), $Child2, age $Age2 ($Sex2), $Child3, age $Age3 ($Sex3)<BR>\n";
?>
</BODY>
</HTML>
depending on your form, whether the method says post or get, you would use global varialbes to get data from it.
if it's post, you'll do $_POST['input_name'] to get the data from the input field named input_name.
if you used $_GET['act'], you'll get data from the url, so index.php?act=blah&p=2 would make $_GET['act']'s value "blah" and $_GET['p'] equal to "2".
You can echo/print multiple variabes in one line. Above, what you did as far as variables is right, I just don't think you retrieved any information from the previous field.
-xP