Código PHP:
$sql=mysql_query("UPDATE `usuarios` SET `password` = '{$clave}' , `key` = '' WHERE `key` = '{$key}' ") or die(mysql_error());
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='valordecampokeyactual'' at line 1
Ya intente de varias maneras, sin las ` y cosas asi pero sigue dandome el mismo error, a segun yo la sintaxis esta bien, pero sigue el problema, alguno de ustedes sabe ke podria estar mal?
Agradecere mil su ayuda