Ver Mensaje Individual
  #20 (permalink)  
Antiguo 28/05/2008, 10:12
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 16 años, 8 meses
Puntos: 28
Respuesta: Problema con While

Cita:
Iniciado por carlosfocus Ver Mensaje
Al fin jajaja
Solucion:

Código PHP:
        $total count$_POST['cantidad'] ); 
        for( 
$i 0$i $total$i++ ) { 
          
$cantidad $_POST['cantidad'][$i]; 
   
     
        
$consulta2 mysql_query("insert into prensa 
        (prnombre) 
         
        values 
         
        ('$cantidad')"
.  mysql_error());
         if (!
$consulta2) {
     die(
'Invalid query: ' mysql_error());
     }
         
     
        } 
GRACIAS muchachos
perfect...
por cierto... tienes agregado este mail [email protected]???
creo conocerte .. soy d valencia
__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...