$erro = !empty($_GET["erro"]) ? $_GET["erro"] : ''; if($erro == 1) { echo "Usuário ou senha incorretos"; } ?>