I am trying to build a content management system for an existing site, but so much of the content is in both massive amounts of includes or free form code. I want/need to find a way to store code like the following:
<td valign="top"><!--#include file="../crf/includes/sitemenu_black.asp"--></td>
in a database field (MS Access) and have that stored field value execute as if I typed the code in myself.
The database does not have an issue with storing and string of code you give it, but I do not know how to get more than the HTML to execute correctly on a dynamic page...the #include does not work if I do something like <% Response.Write(objRSName("FieldName")%> or <%=objRSName("FieldName") %>, as the server attempts to write the <!--#include file="../crf/includes/sitemenu_black.asp"--> as text on the page but it renders the normal HTML code correctly.
This is extremely urgent.