Código PHP:
Ver original
$acc = "UPDATE libro_users key SET key = '$cad' WHERE usuario = '$user'";
y me da este error
Cita:
a que se debe? he revisado la sintaxis y creo que esta bien 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 'key SET key = 'hoBxEWz08ZXQ1CVAHto7gblYesFH2pn4bsPQqLpDcfFb2Fjju fFKFdpxjwwabZS4G' at line 1