Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why isn't it working?

Status
Not open for further replies.

wg26

Programmer
Mar 21, 2002
135
0
0
US
Hi Everyone,

I just started learning ASP and wrote my first .asp file in FrontPage...But When I tried to do the preview, the part which was written by using ASP did not show and I did not have either compile error or run time error. I could not figure out why. Can anyone kindly take a look at this simple code and let me know what I have done wrong? Thank you very much for your help.

<HTML>
<html>
<head>
<title> my web site</title></head>
<body>
here are the results from the processed ASP script!<p>
<center>
<%IntI =1
for IntI =1 to 6
Response.Write(IntI) &quot;<h3>These are different heading sizes</h3>&quot;
Next %>
</center>
</body>
</html>

the code supposed to write 6 times Text with different font size. But it did not write anything...
 
Ammended for you...

call it by typing

localhost/destination/yourfile.asp


<HTML>
<html>
<head>
<title> my web site</title></head>
<body>
here are the results from the processed ASP script!<p>
<center>
<%IntI =1
for IntI =1 to 6
Response.Write IntI&&quot;<h3>These are different heading sizes</h3>&quot;
Next %>
</center>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top