大家看一下,这个是怎么回事?后面的执行不了 (else后面的不管填还是不填)
<!--#include file="conn.asp"--><%
dim uname,sex,area,email,tel,rname,radiogroup,rfield,E_mail,dh,rssql
uname=request.form("rname")
sex=request.form("radiogroup")
area=request.form("rfield")
email=request.form("E_mail")
tel=request.form("dh")
if rname="" or radiogroup="" or rfield="" or E_mail="" or dh="" then
response.write"<script language=javascript>alert('注意请填写所有完整资料!!');self.location=(""register.asp"");</script>"
else
set rs=server.createobject("adodb.recordset")
rssql="select * from register"
rs.open rssql,conn,1,3
rs.addnew
rs("uname")=uname
rs("sex")=sex
rs("area")=area
rs("email")=email
rs("tel")=tel
rs.update
response.write"<script language=javascript>alert('注册成功 !!!');self.location=(""check.asp"");</script>"
end if
%>