I'm trying to make it so that if the username or password is wrong it redirects back to the page and makes the paragraph that says 'wrong username or password visible'
else{
echo "<script type=\"text/javascript\">
document.getElementById("wrong").visibility:visible;
</script>";
header('Location:../');
}