源代码:
Your name:
<% dim fname fname=Request.Form("fname") If fname<>"" Then Response.Write("Hello " & fname & "! ") Response.Write("How are you today?") End If %>
运行结果:
Your name:
<% dim fname fname=Request.Form("fname") If fname<>"" Then Response.Write("Hello " & fname & "! ") Response.Write("How are you today?") End If %>