Guest User

Untitled

a guest
Apr 16th, 2016
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Document</title>
  6. </head>
  7. <body>
  8.     <form method="post" action="">
  9.         name
  10.         <input type="text" name="name" id="">
  11.         <br>password
  12.         <input type="password" name="password" id="">
  13.         <br><button>submit</button>
  14.     </form>
  15.  
  16.     <?php
  17.    
  18.     if (!empty($_POST['name']) && !empty($_POST['password'])) {
  19.             var_dump($_POST);
  20.     }
  21.  
  22.     ?>
  23. </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment