The template uses a loop to go through each form element and print it's value in the emails:
<?php
foreach( $_POST as $pkey => $pval ){
if (!RemoveValue($pkey,$remove,$removeBegins,$removeEnds,$removeIncludes)) {
?>
<tr valign="top">
<th style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 11px; width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #000; font-weight: bold;">User Name:</th>
<td style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 11px; padding: 3px; border-left: 1px solid #DDD; color: #000;"><?php echo $row_LostPW['username']?></td>
</tr>
<tr valign="top">
<th style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 11px; width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #000; font-weight: bold;">Password:</th>
<td style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 11px; padding: 3px; border-left: 1px solid #DDD; color: #000;"><?php echo $row_LostPW['pwd']?></td>
</tr>
<?php
}
}
?>
if you want to show a specific form element, you would use code like:
<?php echo(isset($_POST['elementName'])?$_POST['elementName']:""); ?>
where elementName is the name of the form element you wish to print.