I have a cms that outputs the contents of a particular row of the database to the page
<%=rs("content")%>
This works fine when the content is html, I would like to add asp to the row within the database, however the raw code is being printed to the page instead of the asp. Here's an example as my explanation is rubbish
if DB row contains plain html text such as <b>hello</b> the output will be
hello
if I put asp into the field such as <%=now()%> I want the output to be 12:20pm 17/07/2008 but the output is the raw asp code
<%=now()%>
Are there any ways to get around this?
Thanks
<%=rs("content")%>
This works fine when the content is html, I would like to add asp to the row within the database, however the raw code is being printed to the page instead of the asp. Here's an example as my explanation is rubbish
if DB row contains plain html text such as <b>hello</b> the output will be
hello
if I put asp into the field such as <%=now()%> I want the output to be 12:20pm 17/07/2008 but the output is the raw asp code
<%=now()%>
Are there any ways to get around this?
Thanks