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:

微信图片_20180227170250.png

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>
    确认密码:<input type="password" name="repassword" /><br>
    <input type="submit" name="register" value="注册">
 </form>


Continuing Learning
||
<!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> 确认密码:<input type="password" name="repassword" /><br> <input type="submit" name="register" value="注册"> </form>
submitReset Code