Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/03/2011, 14:33
Avatar de guidoms7
guidoms7
 
Fecha de Ingreso: marzo-2011
Mensajes: 31
Antigüedad: 13 años, 1 mes
Puntos: 0
Respuesta: Modificar varios registros al mismo tiempo

Cita:
Iniciado por arros Ver Mensaje
uteliza el bucle foreach
como podria hacer meto esto en un foreach?
Código PHP:
UPDATE clientes SET UBICACION=%sNOMBRE=%sAGENTE=%sDIA=%s WHERE NUMEROCLIENTE=%s",
                       GetSQLValueString($_POST['ubicacion'], "
int"),
                       GetSQLValueString($_POST['nombre'], "
text"),
                       GetSQLValueString($_POST['agente'], "
text"),
                       GetSQLValueString($_POST['dia'], "
text"),
                       GetSQLValueString($_POST['numerocliente'], "
int")) 
__________________
Costa Rica WOW!!