Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/11/2007, 09:11
Avatar de jorge25
jorge25
 
Fecha de Ingreso: noviembre-2005
Ubicación: Venezuela, San Juan de Los Morros.
Mensajes: 165
Antigüedad: 18 años, 5 meses
Puntos: 1
Como recibir matriz de TextBox

Saludos,

Tengo una matriz de TextBox, la quiero recibir en un script PHP y mostrar los valores de cada text.

Así la tengo creada:

Código PHP:
<form method="get" action="recibe_matriz.php" name="f1">
    <
input type="text" name="valores[]" id="1" />
    <
input type="text" name="valores[]" id="2" />
    <
input type="submit" value="enviar" />
</
form
Este es el script PHP que recibe, pero no funciona:

Código PHP:
foreach($_GET['matriz'])
{
    
//aqui debe mostrar el contenido del text;

Espero alguna sugerencia, gracias.
__________________
Debian GNU/Linux 4.0 "Etch"

La felicidad no es un camino, es un estado de ánimo. Jorge Morgado