I am trying to create an ASP script to retrieve the filenames of some .HTM files from an SQL database, written in another file. I get the file names, but when I try to generate the '#include file=' code, the browser ignores it. This is the code:-
Is there another way of including the code?
Thanks in advance.
Code:
<%while not myrs.eof%>
<%="<!--#include file=" & chr(34) & myRs("stFilename") & chr(34) & "-->"%>
<%myRs.MoveNext%>
<%wend%>
Is there another way of including the code?
Thanks in advance.