请问下面这个ASP的程序哪里有错?

来源:百度知道 编辑:UC知道 时间:2024/05/16 16:14:52
我是ASP初学者,我写了个关于用户注册的初步程序,但只有正确的添加可以用,所有的条件判断语句都没法用。。请各位高手帮忙看下,哪里错了啊?
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<!--#include file="conn.asp"-->
</head>

<body>
<%
if request.Form("submit")="取消" then
response.Redirect("minterface.asp")
else if request.Form("submit")="提交" then
maname=trim(request.Form("mname"))
mapassword1=trim(request.Form("mpassword1"))
mapassword2=trim(request.Form("mpassword2"))
matname=trim(request.Form("mtname"))
matelephone=trim(request.Form("mtelephone"))
maemail=trim(request.Form("memail"))
majibie=trim(request.Form("mjibie"

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<!--#include file="conn.asp"-->
</head>

<body>
<%
if request.Form("submit")="取消" then
response.Redirect("minterface.asp")
end if
if request.Form("submit")="提交" then
maname=trim(request.Form("mname"))
mapassword1=trim(request.Form("mpassword1"))
mapassword2=trim(request.Form("mpassword2"))
matname=trim(request.Form("mtname"))
matelephone=trim(request.Form("mtelephone"))
maemail=trim(request.Form("memail"))
majibie=trim(request.Form("mjibie"))
if maname="" or mapassword1="&q