hi,
am having trouble getting include pages to be dynamically
written to the page using response.write
my plan is to have the include pages in fields in a db so
a user can change the content of the page by changing the database fields
my question is, why does this work-
and this one doesnt?
am having trouble getting include pages to be dynamically
written to the page using response.write
my plan is to have the include pages in fields in a db so
a user can change the content of the page by changing the database fields
my question is, why does this work-
Code:
<div class="leftslot">
<!--#include file=test.asp-->
</div>
and this one doesnt?
Code:
<%x_leftslot = "<!--#include file=test.asp-->"%>
<div class="leftslot">
<%Response.Write x_leftslot%>
</div>
</div>