ok, i see, it looks like your not using a recordset loop, so in the tempalte file, changethe globals decalration to:
<?php
global $rsConfirm;
global $row_rsConfirm;
?>
und use this code to write the first and last name:
<?php echo($row_rsConfirm['firstname']); ?> <?php echo($row_rsConfirm['lastname']); ?>