Jump to content

how to dynamic inlude files ?


mordret

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 :)

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...