I added this code to the transferaction.php page: <?php
$last_id = mysql_query("SELECT `transID` FROM transactions ORDER BY `transID` DESC LIMIT 1");
?>
Then, on Block_3.php, these are my bound fields:
<tr valign="top">
<th style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #666; font-weight: bold;">Transaction ID:</th>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;padding: 3px; border-left: 1px solid #DDD; color: #B6B6B6;">
<?php echo $last_id; ?>
</td>
</tr>
<tr valign="top">
<th style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #666; font-weight: bold;">Description:</th>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;padding: 3px; border-left: 1px solid #DDD; color: #B6B6B6;">
<?php echo((isset($_POST["description"]))?$_POST["description"]:"") ?></td>
</tr>
<tr valign="top">
<th style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #666; font-weight: bold;">Amount:</th>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;padding: 3px; border-left: 1px solid #DDD; color: #B6B6B6;">
<?php echo((isset($_POST["amount"]))?$_POST["amount"]:"") ?></td>
</tr>
<tr valign="top">
<th style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #666; font-weight: bold;">From Account:</th>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;padding: 3px; border-left: 1px solid #DDD; color: #B6B6B6;">
<?php echo $_SESSION['acct_number']; ?>
</td>
</tr>
<tr valign="top">
<th style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #666; font-weight: bold;">To Account:</th>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;padding: 3px; border-left: 1px solid #DDD; color: #B6B6B6;">
<?php echo $_SESSION['racct_number'] ?>
</td>
</tr>
It's still not sending this email, however.