Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/10/2008, 14:21
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: $_post con variable

Prueba hacer el envio como un arreglo:
Código php:
Ver original
  1. $i = 0;
  2. for ($i=0; $i<$jornadas; $i++) {
  3.     $o = $i+1;
  4.     echo "Equipo $o : <input type='text' name='equipo[" . $i . "]' size='20'> <br />";
  5. }

Luego lo rescatas:
Código php:
Ver original
  1. foreach($_POST['equipo'] as $equipo) {
  2.         echo $equipo . "<br />";
  3. }

Saludos.