Cita:
Iniciado por David
En lugar de usar el valor de retorno de mysql_query() para saber si el registro fue actualizado debes usar mysql_affected_rows:
[url]http://www.php.net/manual/en/function.mysql-affected-rows.php[/url]
Por cierto, no necesitas usar comillas en el id siendo este un campo numérico.
Hola David, si le quito las comillas mira lo que obtengo:
Cita: 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 '' at line 1