Código PHP:
<?php
$adao= new AsesorDAO();
$avo1= $adao->buscar_as($dato);
?>
<center><form name="form1" method="post" action="p_insert.php">
<table ALIGN="center" BORDER="1">
<tr>
<th>Identificacion</th>
<th>Nombre</th>
<th>Direccion</th>
<th>Telefono</th>
<th>Celular</th>
</tr>
<?php
for($i=0;$i<5;$i++){
echo"<tr>
<td><A href=\"Javascript:document.form1.llave.value='".$avo1[$i]->id_as."';document.form1.ac.value='co';document.form1.submit();\">".$avo1[$i]->id_as."</a><td>
<td>".$avo1[$i]->nom_as."<td>
<td>".$avo1[$i]->dir_as."<td>
<td>".$avo1[$i]->tel_as."<td>
<td>".$avo1[$i]->cel_as."<td></tr>";
}
?>
</table>
<input type="hidden" name="ac">
<input type="hidden" name="llave">
</form></center>
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)