Yo cambiaría un poco la solución de Death por un do{ ... }while:
Código PHP:
<?php
if ($num_filas > 0) {
$fila = mysql_fetch_array($resultado);
?>
Cedula:
<input type="text" name="cedula" id="cedula" readonly="readonly" value="<?php echo $fila["NUM_CED_EGR"]?>"/>
Nombres:
<input type="text" name="nombres" id="nombres" readonly="readonly" value="<?php echo $fila["NOM_EGR"]?>"/>
Apellidoo
<input type="text" name="nombres" id="nombres" readonly="readonly" value="<?php echo $fila["APE_EGR"]?>"/>
<?php
do {
?>
Empresa:
<input type="text" name="empresa" id="empresa" readonly="readonly" value="<?php echo $fila["RAZ_SOC_EMP"]?>"/>
<?php
}while($fila = mysql_fetch_array($resultado));
}
?>