
08/04/2011, 22:41
|
| | Fecha de Ingreso: febrero-2011
Mensajes: 64
Antigüedad: 14 años Puntos: 0 | |
Respuesta: while php + boton aqui pego lo que hice
<form id="action" name="form3" method="post" action="prueba.php">
<table width="591" border="3" align="center" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="40" bgcolor="#0000CC"> </td>
<td width="95" bgcolor="#0000CC"><span class="Estilo6">FECHA</span></td>
<td width="195" bgcolor="#0000CC"><div align="center" class="Estilo21 Estilo19"><strong>CEDULA</strong></div></td>
<td width="105" bgcolor="#0000CC"><div align="center" class="Estilo21 Estilo19"><strong>NOMBRE</strong></div></td>
<td width="140" bgcolor="#0000CC"><div align="center" class="Estilo21 Estilo19"><strong>COMENTARIO</strong></div></td>
</tr>
<?php
$sqlfech = "SELECT * FROM cvregistro WHERE registro= '1' ";
$resfech=mysql_query($sqlfech,$link);
while($filfech=mysql_fetch_array($resfech))
{
$cont=$cont+1;
?>
<tr bgcolor="#FFFFFF">
<td height="26"><label>
<input type="submit" name="action[<?php $filfech[2]; ?>]" value="action"/>
</label></td>
<td><span class="Estilo24"> <?php echo $filfech[6]; ?></span></td>
<td><span class="Estilo22 style12 Estilo20 Estilo24"><strong>
<label><strong>
<input name="ci" type="text" value="<?php echo $filfech[2]; ?>" />
</strong></label>
</strong></span></td>
<td><span class="Estilo22 style12 Estilo20 Estilo24"><strong> <?php echo $filfech[1]; ?></strong></span></td>
<td><span class="Estilo22 style12 Estilo20 Estilo24"><strong> <?php echo $filfech[7]; ?></strong></span></td>
</tr>
<?php
}
?>
</table>
</form>
lo que quiero es que el valor del boton o del input lo muestre aqui
<input type="text" name="textfield" id="textfield" value="<?php $_POST["action"] ?>" />
que es pagina a donde redirecciona el form anterior |