Can I dynamically obtain include files

S

Sue Barth

Hello,
I'm trying to build a part of an application that will use an include file
based on a user's selection (still in ASP 3.0!).
Their selection is stored in a database. I've tried using variables as
either the entire include file or in parts of the include file, but nothing
I've tried works - I.e.:

myTemplate=objRS("template")
<!-- #include file="inc_<% response.write myTemplate %>.asp" -->

Is there any way to accomplish this?

Thanks in advance,
Sue
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top