-
If you have a problem, you post all of it, or send it to me to help you modify it.
If you submit, you can use js to make a judgment when submitting the form!
I wrote you a judgment, if it's empty, you can't submit it!
-
If you only set it to non-null in the database, it will only make an error when adding, and you cannot avoid adding null values.
Judge the receiving page, or limit it with a regular expression.
-
??That's right.
But are these two sentences of yours useful? If you add these two sentences, it will give an error, set recordset1 nothing, or if trim( then
-
I'll tell you why:
1) You check whether someone has already used this username statement, which restricts the "username" and "password" to be equal at the same time. This means that even if the username is not the same, and the password is the same, it will indicate that it has already been registered. You must be using the same password every time you register, so it should be like this:
sql="select * from user where name='"name&"'
2) In addition, the order of judgment should be like this: if not ( and then because the execution order of asp is chaotic from back to front.
-
When prompting an error, what text is prompted, and the error is in the first few lines.
-
xmlhttp to look up this information for a bunch of examples.
-
Using ajax technology, specifically looking for ** on the Internet, there are many.
-
Do you need scripts?
It can be done, it's actually very simple.
-
sql,conn,1,1
if then
elsezhucei=false")
end if
Just delete all these sentences.
Originally, these sentences are to determine whether there is such a user in the database, and if you want to achieve the effect you want, you need to remove this mechanism.
-
When the username exists, the program runs this:
The crux of the matter is these two sentences, and I seem to have encountered this situation before, so in this case I usually write it in important terms:
You can try.
-
You've reopened this, try using js, ;
-
It is recommended for you to register an AJAX instant detection program.
-
Here's a simple :
You submit the form to this page, please see:
if request("tt")="qq" thendim username
username=trim(request("username"))set rs="")
sql,conn,1,3
if not( and then
)elsers("username")=username""
set rs=nothing
end if
end if
do while not
Output line. for i=1 to 3 >>>More
First of all: it is used to save the file, not to determine which directory to upload to. >>>More
Right away! I'm just registered.,Normally, you should register on it.,If not, you can try to refresh or log in again! A beginner's guide to read!
What you mean is that you have to jump to the past, and you can't jump to any other page. >>>More
dim startime,conn,connstr,db,rs,rs_s,rs_s1
startime=timer() >>>More