Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/04/2007, 07:41
EDWINSANCHEZ
 
Fecha de Ingreso: octubre-2006
Mensajes: 79
Antigüedad: 17 años, 6 meses
Puntos: 0
Manejo De Arrays De Cajas De Texto Con Hiperenlaces

Manejo De Arrays De Cajas De Texto Con Hiperenlaces

--------------------------------------------------------------------------------

Hola a todos,espero su ayuda que ya stoy desde hace rato con este problema.
Lo que pasa que tengo un formulario con varios arrays de cajas de texto.Inmersos alli hieperlances .deseo recoger los valores de las variables correctas en otra pagina del registro chickeado(en el hiperenlace) pero la pagina destino no los captura,el codigo en el q parece q radica el error es el que esta en negrita.


Parte de Mi codigo es mas o menos asi:

<table border="2" align="center" bordercolor="#ECE9D8">
<tr>
<th>Artículo</th>
<th>Descripción</th>
<th>Centro de Costos</th>
<th>Cantidad</th>
<th>Precio</th>
<th>Impuesto</th>
<th>Importe</th>
<th>Total</th>
</tr>
<?
for ($i=1;$i<=$txtNroProductos;$i++)
{?>
<tr>
<td height="22" width="20" bordercolordark="#454560"><input type="text" size="10" name="txtidArticulo[]">
</td>
<td height="22"><input type="text" name="txtdescArticulo[]">
<? // <input type="submit" name="btnAyuda" value=" " onClick="<? $NUMERO=$txtdescArticulo[$i];?>

<? echo "<td><a href=\"ayudaDescripCP.php ?numero=".$txtdescArticulo[$i]."\">Ayuda</a></td>";
?></td>

<td height="22" width="20"><input type="text" size="10" name="txtvccArticulo[]"></td>
<td height="22" width="20"><input type="text" size="10" name="txtcantArticulo[]"></td>
<td height="22" width="20"><input type="text" size="10" name="txtprecioArticulo[]"></td>
<td height="22" width="20"><input type="text" size="10" name="txtimpuestoArticulo[]"></td>
<td height="22" width="20"><input type="text" size="10" name="txtimporteArticulo[]"></td>
<td height="22" width="20"><input type="text" size="10" name="txttotalArticulo[]"></td>
</tr>
<?
}
?>
</table >