newbie ASP won't work

  • Thread starter Thread starter Jacky Luk
  • Start date Start date
J

Jacky Luk

Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT"" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here
<body>

</body>
</html>

pls help
Jack
 
Jacky Luk said:
Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT"" %>
____
I've spoted one error, but still doesn't work in preview
 
Here's the revision

<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here


</body>
</html>
 
First, define "doesn't work." Describe symptoms, behaviors, error messages,
etc.

Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
microsoft.public.inetserver.asp.general.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
Kevin Spencer said:
First, define "doesn't work." Describe symptoms, behaviors, error
messages, etc.

Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
microsoft.public.inetserver.asp.general.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven
the current time ,Time(), is not displayed
 
Jacky as ken Adviced this is ASP.NET newsgroup.
To display your time use:-
<%=Now()%>
Hope that helps
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top