Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/06/2015, 12:39
vegas
 
Fecha de Ingreso: mayo-2003
Mensajes: 194
Antigüedad: 21 años
Puntos: 4
Respuesta: bienvenidos a 1070 :(

bufff ya lo consegui, estaba poniendo mal la variable en el update set

Código PHP:
$fecha_cita=$_GET['fecha_cita'];
        
        
        
$fecha_cita_MySQL implode'-'array_reverseexplode'/'$fecha_cita ) ) ) ; 
y en el update:

Código PHP:
$insert1="UPDATE avisos SET fecha_cita='$fecha_cita_MySQL',hora_cita='$hora_cita' where codigo_avi='$codigo_avi'"
muchas gracias por la ayuda.