|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
asp in asp? vb? |
From: |
joe i. krazie |
Date: |
1/16/2001 9:24:45 PM |
IP: |
198.104.1.100 |
Is there a way to write asp code inside asp code?
I found this code on some website and modifided it a little to try
and explain what it was that I was trying to do. I don't know i was
thinking that I saw some script somewhere that repeated text over
and over again. I thought maybe I would try and use that.
I think it was something like this:
<% First var = link %>
<% FIrst var %>
I know that this should be easy for someone that knows asp better than
I do I am just starting to learn asp and I started using asp for the SSI
capabilaties that it has You know so that you don't have to write the
same copyright over and over again...
Umm thanx for your help.
joe. joe@krazie.com
The code:
-index.asp-
<%@ Language="VBScript" %>
<HTML>
<BODY>
<B>Click one of the links below:</B><BR>
<A HREF="page.asp?link=1">Link 1</A><BR>
<A HREF="page.asp?link=2">Link 2</A><BR>
<A HREF="page.asp?link=3">Link 3</A><BR>
<A HREF="page.asp?link=4">Link 4</A><BR>
<A HREF="page.asp?link=5">Link 5</A>
</BODY>
</HTML>
-page.asp-
<%@ Language="VBScript" %>
<%=Request.QueryString("link")%>
<HTML>
<TITLE><%=Request.QueryString("link")%></zTITLE>
<BODY>
You clicked link number <%=Request.QueryString("link")%>!<BR>
<!--#INCLUDE FILE="<%=Request.QueryString("link")%> +.asp"-->
<!--#include virtual="/ct/<%=Request.QueryString("link")%> +.asp"--> |
Follow Up - Re: asp in asp? vb? - dzzie 1/21/2001 3:05:14 PM
Follow Up - Re: asp in asp? vb? - masha 3/14/2001 4:23:09 AM
|
|

|
|
|
|
|
|
|
|
|
|