Código MySQL:
Ver original
$query = "UPDATE $tableusers SET user_firstname='$newuser_firstname', ".$updatepassword." user_nickname='$newuser_nickname', user_email='$newuser_email', user_idmode='$newuser_idmode' WHERE ID = $user_ID"; $result = mysql_query($query);
y el error que marca es el siguiente, cuando trato de actualizar alguno de los campos:
ERROR: couldn't update your profile... please contact the webmaster !
UPDATE users SET user_firstname='camaleonix', user_nickname='camaleon', user_email='[email protected]', user_idmode='nickname' WHERE ID =
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
no se que onda. alguna idea?
saludos!!