|
Hi!
I'm trying to put to life my first more complex page. In it, I want to include a file in a div of my index.asp page. The problem is, that I want to put diferent inc files depending on the link that viewer choosed.
In W3school I found this:
The following script will not work because ASP executes the #include directive before it assigns a value to the variable:
<%
fname="header.inc"
%>
<!--#include file="<%=fname%>"-->
Now I know, what can't work. But what will? What would be the best solution to the problem?
I will apriciate the answer!
Zvak
|