怪现象请教!!初学勿笑!
两段ASP代码,在虚拟目录中用右键浏览显示正常,但在DREAMWEAVER中不正常。代码如下:<html>
<Head>
<title>mytext</title>
</head>
<body bgcolor="#FFFFGG">
<Form action="if.asp" method=get >
your firstname
<Input name="firstname" value="jj" Maxlength="10" >
your lastname
<Input name="lastname" maxlength="20">
<Input Type=reset> <input Type=submit>
</Form>
</body>
</html>
<html>
<head>
<TITLE>if.asp</TITLE>
</head>
<% fname=request.querystring("Firstname") %>
<% If fname="George" then %>
Hi.You must be the first president!
<% else %>
Hi!Nice to Meet You
<% end if %>
</body>
</html>
在DW中无论输什么,都是Hi.You must be the first president! Hi!Nice to Meet You !
水土不服啊?