The code with problem does the following: It is part of a password reset system that I am creating, but when I put it inside an ECHO I got some problems that I could solve because I do not see an apparent solution.
echo ''
.$id = $_GET['id']; // Recebendo o valor vindo do link
$resultado = $mysqli->query("SELECT * FROM usuarios WHERE ID = '".$id."'"); // Há variável $resultado faz uma consulta na tabela selecionando somente o registro desejado
while($linha = mysqli_fetch_array($resultado))
{'
<html><form id="form_Usuario" method="POST" action="updatecomplete.php" >
<label> Senha: </label> <br />
<input type="password" name="pass" style="height:30px; width:250px" value="'.md5($linha['Senha']).'\" />
<input type="submit" value="Alterar Senha" />
</form></html>
'}
When I run the code I get the following error:
Parse error: syntax error, unexpected '}' in ...