Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. $error = array();
  2. $error[] = "each time false is returned print some message here";
  3.  
  4. if (count($error) === 0)
  5. {
  6. header('location: ./login.php');
  7.  
  8. <h3>Please enter username and password to sign up</h3>
  9. <form action="./signup.php" method="post">
  10. Username: <input type="text" name="username" placeholder="User name"><br>
  11. Password: <input type="password" name="password" placeholder="Password"><br>
  12. <input type="submit" value="Sign up">
  13. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement