Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/08/2007, 07:54
Avatar de rogertm
rogertm
Mod->Cuba
 
Fecha de Ingreso: julio-2005
Ubicación: /home/Cuba/Habana/rogertm/
Mensajes: 2.922
Antigüedad: 19 años, 6 meses
Puntos: 638
Re: guradar varios datos de otra tabla en un solo campo.......!

hola moderador, mas o menos entiendo, lo que no veo como construir el UPDATE, mira, aqui lo pongo:
Código PHP:
if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "tramitar")) {
  
$updateSQL sprintf("UPDATE documentos SET indicacion=%s, fecha_cumplimiento=%s, fecha_tramitacion=%s, responsable=%s, tramitado=%s WHERE documento_ID=%s",
                       
GetSQLValueString($_POST['indicacion'], "text"),
                       
GetSQLValueString($_POST['fecha_cumplimiento'], "date"),
                       
GetSQLValueString($_POST['fecha_tramitacion'], "date"),
                       
GetSQLValueString($_POST['responsable'], "text"),
                       
GetSQLValueString($_POST['tramitado'], "int"),
                       
GetSQLValueString($_POST['documento_ID'], "int")); 
aun con dreamweaver

un saludo y gracias como siempre
__________________
Friki y Blogger por Cuenta Propia:213
Twenty'em: Theming is Prose