Ok. In the member_Registratin.php added a record set and have set up the following code to verify that I can see these mysterious values when the page loads after user logs in. The correct values from table1 show on the Registration page. The insert statment should but it does not insert the data into table2? I realy need help on this, please.
</php
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "WAATKRegistrationForm")) {
$insertSQL = sprintf("INSERT INTO tbl_tablename2 (kidName, userSID, userEmail, kidRegDate) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['kidFirstName'], "text"),
GetSQLValueString($_POST['kidName'], "text"),
GetSQLValueString($_POST['userID'], "int"),
GetSQLValueString($_POST['userEmail'], "text"),
'Now()';
?>
<tr>
<th>userSID:</th>
<td><?php echo $row_tablename1['userSD']; ?></td>
</tr>
<tr>
<th>userEmail:</th>
<td><?php echo $row_Parent['userEmail']; ?></td>
</tr>