I would like to ask you for help identifying the reason why my update query does not work. I have the following problem, the query below works normally:
$conn->query("UPDATE dados_cadastrais SET
nome='$nome',sobrenome='$sobrenome',nascimento='$nascimento',cpf='$cpf',cep='$cep',logradouro='$logradouro',bairro='$bairro',localidade='$localidade',uf='$uf',ibge='$ibge',numero='$numero',usuario='$usuario',senha='$senha'")
But there is no WHERE clause pointed out, but when I put it in, it does not recognize WHERE as a part of the query or anything after it, I have tried everything and can not find where the error is (if there is any error), or some other way to do this, follow the image of how it is in the text editor (use the Atom):
Thank you in advance for the help, I already researched everything that was possible and did not find anything similar to my problem.