lyb.asp

来自「ASP对象例子」· ASP 代码 · 共 44 行

ASP
44
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Name = Request("name")
email = Request("email")
word = Request("word")

If name = Empty Then
   Response.Write "姓名字段未填数据,请返回上一页,重新输入!"
   Response.End
End If

If email = Empty Then
   Response.Write "Email 字段未填数据,请返回上一页,重新输入!"
   Response.End
End If

If word = Empty Then
   Response.Write "留言字段未填数据,请返回上一页,重新输入!"
   Response.End
End If


%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>留言者:<%=request.Form("name")%></td>
  </tr>
  <tr>
    <td>EMIAL:<%=request.Form("email")%></td>
  </tr>
  <tr>
    <td>留言内容:<%=request.Form("word")%></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?