后台添加新闻问题

来源:百度知道 编辑:UC知道 时间:2024/09/24 02:27:13
我的网站在后天在添加新的商品介绍,把产品价格规格 商品介绍 写好提交后,在打开网站浏览的时候 只显示产品的价格跟规格类信息,但是 产品介绍显示不出来,我在近后台看的时候,这个商品介绍里面根本没有文字,我又写了一次,结果还是提交后前台显示不出来,在去后台编辑次产品信息, 产品介绍那还是空的 郁闷~!轻高手帮忙,看看这段程序.

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><%=session("bookcontent")%><%
Action=LCase(Request.QueryString("Action"))
bookid=Request.QueryString("bookid")

If request("action")="edit" Then
set rs=server.createobject("adodb.recordset")
sql="select * from shop_books where bookid="&bookid
rs.open sql,conn,1,1
If Not rs.Eof Then
bookcontent=rs("bookcontent")
End If
Response.Write bookcontent
End If
%>
</body>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><%=session("bookcontent")%><%
Action=LCase(Request.QueryString("Action"))
bookid=Request.QueryString("bookid")

If request("action")="edit" Then
set rs=server.createobject("adodb.recordset")
sql="select * from shop_books where bookid="&bookid
rs.open sql,conn,1,1
If Not rs.Eof Then
bookcontent=session("bookcontent")
End If
Response.Write bookcontent
End If
%>
</body>

如果还是不行建议你Q我44467779,吧整页代码发给我

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><%=session("bookcontent")%><%
Action=LCase(Request.QueryString("Action"))
bookid=Request.QueryString("bookid")