Cita:
Iniciado por GatorV
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"] ."";