Thanks SargeZT!
I've checked to make sure the spelling is correct.
For the button click on the first page, here's the code that's called to decide which page to go to next:
$editFormAction = $SERVER['PHP_SELF'];
if (isset($SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}
if ((isset($POST["MM_insert"])) && ($POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO main (Email, Password) VALUES (%s, %s)",
GetSQLValueString($POST['Email'], "text"),
GetSQLValueString($POST['password'], "text"));
mysql_select_db($database_connLE, $connLE);
$Result1 = mysql_query($insertSQL, $connLE) or die(mysql_error());
$insertGoTo = "NewSubInfo.php";
if (isset($SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
What's odd is if I take the <?php echo $editFormAction; ?> action out of the form and put in NewSubInfo.php (keep the method to Post), the two fields on the next page are in fact populated w/o errors.