Created
March 28, 2018 13:37
-
-
Save iampava/e70a460f377638d0fe07170807272b7e to your computer and use it in GitHub Desktop.
Show message based on query params
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head></head> | |
<body> | |
<form class="form" id="loginForm" action="./login.php" method="POST"> | |
<!-- --> | |
</form> | |
<?php | |
if (isset ($_GET['error']) ) { | |
echo "<p> Invalid credentials </p>"; | |
} | |
?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment