| 怎样执行数据库中的包含文件 |
| [ 来源:ITWENKU 时间:2007-4-18 15:04:44 | 浏览:198人次
] |
| |
请教大家了 在template 表中有个content字段 content字段中的内容是 <body> <!--#include virtual="/include/head.shtml" --> </body>
A文件的内容是 <% set rs=conn.execute("select content from templet") if not rs.eof then content=rs("content") end if %> 这怎么让content的内容完全显示出来?
for each i in content response.write content(i) next
<% set rs=conn.execute("select content from templet") if not rs.eof then do while not rs.eof content=rs("content") response.write content rs.movenext loop end if %>
不是这个样子的,如果按照你们的方法那A.asp文件的源码为:
<body> <!--#include virtual="/include/head.shtml" --> </body>
可是我想把 include/head.shtml 文件的内容也显示出来呀
|
|
 |
最新更新 |
|