Código PHP:
$editar= mysql_query("UPDATE usuario SET contrasena= {$_POST['contrasena']}, correo= {$_POST['correo']}
, ubicacion= {$_POST['ubicacion']}, cfg_estilo= {$_POST['estilo']}
WHERE id= {$_COOKIE['juego_jugador_id']}");
Código:
Gracias y saludos! 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 '@hotmail.com , ubicacion= Valencia, España, cfg_estilo=' at line 1