|
-
May 11th, 2001, 05:12 AM
#1
Thread Starter
Frenzied Member
Including a file dynamically
I expect this has been asked 26.4 times already but...
I am passing a page name to an ASP in the request string. I want to then include it using <!-- #include file='filename' -->
(fName is the variable holding the page name)
if I do<%
response.write "<!-- #include file='" & fName & "' -->"%>
the include string gets written correctly but the page doesn't get included.
if I do
<!-- #include file='<%=fName%>'-->
it says can find file <%=fName%>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|