Ver Mensaje Individual
  #9 (permalink)  
Antiguo 15/01/2009, 13:52
Xematick
 
Fecha de Ingreso: octubre-2008
Mensajes: 180
Antigüedad: 16 años, 4 meses
Puntos: 1
Respuesta: Comprobar Session y Cookie e insertar su ip

Cita:
Iniciado por GatorV Ver Mensaje
Si nos indicas el error es más facil orientarte.

Saludos

Ok, dice así:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where id_usuario=52' at line 1

Está bien hecha esta inserción?

Código PHP:
    $query "INSERT INTO mi_db (ip) VALUES ('$ip') where id_usuario=" $_COOKIE["id_usuario_dw"] .""