Dynamically Obtain Include Files

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?

View Replies




Copyrights 2005-15 www.BigResource.com, All rights reserved