下面是修改商品的代码:
if request("action")="saveedit" then
goodstypeid=request("goodstypeid")
goodsname=request("goodsname")
goodsprice=request("goodsprice")
goodscount=request("count")
goodsintro=request("goodsintro")
goodspic=request("goodspic")
goodsinfo=server.htmlencode(goodsinfo)
goodsinfo=replace(goodsinfo,""," ")
goodsinfo=replace(goodsinfo,chr(13)&chr(10),"<br>")
if goodspic="" then
goodspic=无
else
goodspic=server.htmlencode(goddspic)
endif
set rs=server.createobject("adodb.recordset")
sql="select * from goods where id=" &request("goodsid")&"
rs.open sql,conn.3.3
rs("goodstypeid")=goodstypeid
rs........................
rs.update
..........
帮我详细的解释一下这三句话是什么意思。
goodsinfo=server.htmlencode(goodsinfo)
goodsinfo=replace(goodsinfo,""," ")
goodsinfo=replace(goodsinfo,chr(13)&chr(10),"<br>")
求助高手