login.html.php 366B

123456789101112131415161718192021
  1. <?php
  2. if(isset($error))
  3. {
  4. if($error)
  5. echo "<h1>T'es mauvais Jack</h1>";
  6. else
  7. {
  8. ?>
  9. <h1>T'es connecté gros</h1>
  10. <?php }} else { ?>
  11. <form method="POST">
  12. <input type="text" placeholder="identifier" name="login"/>
  13. <input type="password" placeholder="password" name="password"/>
  14. <input type="submit" value="login"/>
  15. </form>
  16. <?php } ?>