Hey everyone,
I am trying to do something like this
<!--#include file="templates/<%=table.fields.item("value"%>">
However, it seems the include statement interprets the script literally as the error I get is:
The include file 'templates/<%=table.fields.item(' was not found.
Being able to do this would be a very very cool thing for the app I am working on.
For others and maybe put ideas in your head...I have created a "top" and "bottom" of a page and based on the value pulled from the db, would pull a include a specific file in the middle of the page.
It works beutifully if I hard code the include file, now I want it to be dynamic.
Maybe someone has another thought on how to do this.
Steve Davis
hey.you@hahaha.com.au
I am trying to do something like this
<!--#include file="templates/<%=table.fields.item("value"%>">
However, it seems the include statement interprets the script literally as the error I get is:
The include file 'templates/<%=table.fields.item(' was not found.
Being able to do this would be a very very cool thing for the app I am working on.
For others and maybe put ideas in your head...I have created a "top" and "bottom" of a page and based on the value pulled from the db, would pull a include a specific file in the middle of the page.
It works beutifully if I hard code the include file, now I want it to be dynamic.
Maybe someone has another thought on how to do this.
Steve Davis
hey.you@hahaha.com.au