Código PHP:
<div class="div-titulo"<center><h3>Datos Personales</h3></center></div>
<br /><br />
<table width="1819" style="solid #FF0000; color:#000099; border-style:solid; border-color:#99CCCC; border-width: 0.5 px;">
<tr style="background:#99CCCC;">
<td width="73" height="17"><strong>
<center>Genero</center></strong></td>
<td width="128"><center><strong>Fecha Nac.</strong></td>
<td width="128"><center><strong>Edad</strong></center></td>
<td width="120"><center><strong>Grupo Etnico</strong></center></td>
<td width="140"><center><strong>Form. Valorica</strong></center></td>
<td width="194"><center><strong>Direccion</strong></td>
<td width="63"><center><strong>Sector</strong></center></td>
<td width="70"><center><strong>Fono Fijo</strong></center></td>
<td width="74"><center><strong>Fono Movil</strong></center></td>
<td width="116"><center><strong>Fono Referencia</strong></center></td>
<td width="200"><center><strong>Vive Con</strong></center></td>
<td width="160"><center><strong>Motivo No Vive Con Padres</strong></center></td>
<td width="162"><center><strong>Coment. No Vive Con Padres</strong></center></td>
<td width="56"><center><strong>Modificar</strong></center></td>
<td width="65"><center><strong>Eliminar</strong></center></td>
</tr>
<?
echo "</td>";
echo "<td><center>".$row_nino[5]."</center></td>";
echo "<td><center>".FechaESP($row_nino[6])."</center>//aqui en este row estoy llamando a la funcion fecha la cual se me imprime fuera de la tabla</td>";
echo "<td><center>".$row_nino[0]." Año(s)"."</center></td>";
echo "<td><center>".$row_nino[7]."</center></td>";
echo "<td><center>".$row_nino[8]."</center></td>";
echo "<td><center>".$row_nino[9]."</center></td>";
echo "<td><center>".$row_nino[10]."</center></td>";
echo "<td><center>".$row_nino[11]."</center></td>";
echo "<td><center>".$row_nino[12]."</center></td>";
echo "<td><center>".$row_nino[13]."</center></td>";
echo "<td><center>".$row_nino[14]."</center></td>";
echo "<td><center>".$row_nino[15]."</center></td>";
echo "<td><center>".$row_nino[16]."</center></td>";