pues creo que es asi el tema
si pones
$a=$_POST[txtnumeroIdentificacion];
el campo de input name debe llamarse ->txtnumeroIdentificacion
tu codigo debe quedar asi :
Código PHP:
$a=htmlentities($_POST['txtnumeroIdentificacion'], ENT_QUOTES);
<input type="text" name="txtnumeroIdentificacion" value="<?php echo $a;?>"/>
SALUDOS!!