Skip to content

Instantly share code, notes, and snippets.

@iampava
Created March 28, 2018 13:37
Show Gist options
  • Save iampava/e70a460f377638d0fe07170807272b7e to your computer and use it in GitHub Desktop.
Save iampava/e70a460f377638d0fe07170807272b7e to your computer and use it in GitHub Desktop.
Show message based on query params
<!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