Styleless implementation of user registration
Simple form registration function, the user enters the user name and password to register, and performs post submission
The interface is as follows:
register.html:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <hr size="1"> <form action="add.php" method="post" > 用戶:<input type="text" name="username"/><br> 密碼:<input type="password" name="password" /><br> 確認(rèn)密碼:<input type="password" name="repassword" /><br> <input type="submit" name="register" value="注冊"> </form>