网站调用出错,后台编辑器编写的内容前台无法显示
来源:百度知道 编辑:UC知道 时间:2024/05/17 21:43:16
<title>eWebEditor - eWebSoft在线编辑器</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/<%=sStyleCSS%>/Editor.css" type="text/css" rel="stylesheet">
<td height="40" align="left">产品名称: <%=rspp("title")%> 规 格:<%=rspp("Spec")%> 产品备注:<%=rspp("Memo")%> 产品类别:<%=rspp("BigClassName")%></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td height="37" colspan="3"> <span style="font-weight: bold">产 品 说 明 </sp
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/<%=sStyleCSS%>/Editor.css" type="text/css" rel="stylesheet">
<td height="40" align="left">产品名称: <%=rspp("title")%> 规 格:<%=rspp("Spec")%> 产品备注:<%=rspp("Memo")%> 产品类别:<%=rspp("BigClassName")%></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td height="37" colspan="3"> <span style="font-weight: bold">产 品 说 明 </sp
应该需要从数据库提取“sStyleCSS”的内容,否则css的调用路径浏览器不能正确解析。
比如把以下语句写在title之前:<!--#include file="Function/conn.inc"-->
<%
sql="select * from systems"
rs.open sql,conn,1,1
sStyleCSS=rs("sStyleCSS")
%>