Hi,
I have an ASP page. It has nothing but four hyperlinks. Reason by making this page
an ASP instead of HTML is one of the URL for hyperlinks is derived dynamic.
<%
\\Database connection code
SQL = "select filename from table1"
RS.open, SQL, objConnection
data = RS(0)
URL = " & data & ".html"
%>
<HTML>
<BODY>
-- code for link1, link2, link3 ---
<a href="<%=URL%>"> <img src="logo.gif" border="0"></a>
</BODY>
</HTML>
Per requirements this page should be HTML page.
Is there any way we can have a vbscript code in separate include file of type ASP
and make the original page as HTML.
THANKS
I have an ASP page. It has nothing but four hyperlinks. Reason by making this page
an ASP instead of HTML is one of the URL for hyperlinks is derived dynamic.
<%
\\Database connection code
SQL = "select filename from table1"
RS.open, SQL, objConnection
data = RS(0)
URL = " & data & ".html"
%>
<HTML>
<BODY>
-- code for link1, link2, link3 ---
<a href="<%=URL%>"> <img src="logo.gif" border="0"></a>
</BODY>
</HTML>
Per requirements this page should be HTML page.
Is there any way we can have a vbscript code in separate include file of type ASP
and make the original page as HTML.
THANKS