This is a registration code. I need to be able to determine whether to enter the account password or something during registration, then the password should be verified to be equal twice, and then the registration will be uploaded to the database, however, all the functions are not successful, and it has been a long time to be difficult. my localhost does not have an account or password & lt ;! DOCTYPEhtmlPUBLIC & quot;-W3CDTDXHTML1.0TransitionalEN & quot; www. w3.orgTRxhtml1DTDxhtml1-transitional. dtd & quot; & gt; fun php
This is a registration code. I need to be able to determine whether to enter the account password or something during registration, then the password should be verified to be equal twice, and then the registration will be uploaded to the database, however, all the functions are not successful. it has been a long time and a lot of trouble. my localhost does not have an account or password.
Function r () {var username = document. getElementById ("userName"); var pass = document. getElementById ("passw1"); if (username. value = "") {alert ("Enter the user name"); return;} if (pass. value = "") {alert ("Enter password"); return;} document. login. submit (); return true;} "method =" post ">
| Registered user |
| Account: |
|
| Password: |
|
| Enter again: |
|
| Name: |
|
| Student ID: |
|
Identity: |
Instructor: student: |