Jump to content

how to dynamic inlude files ?


mordret
 Share

Recommended Posts

Hi all, im a newby to asp and i cant seem to dynamicli include files, this is what i got:templatestr = "<!-- #include virtual=" & template_link & "-->"response.write templatestrthe problem is that it doesnt show anything, if i look on the page source it says:<!-- #include virtual=/site/design2/index_home.asp-->notice: the double quotes are missing but i dont know how to place the quotes there since it does not react to: 34;any help would be appreciated :)

Edited by modret
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Thank for the help, but the server.execute method does not work for me, unlike the include method the .execute starts an entire new file.Because of this the variables are not passed trough and the server.transfer method should be able to do this, but again unlike the includemethod the record sets are gone because it closes the the file that called the statement.Anyone else with a solution? =D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...