花卉营养土的配制方法:Rs.addnew

来源:百度文库 编辑:中科新闻网 时间:2024/05/04 04:30:54
Rs.addnew
news=request.form("text1")
news=replace(news," ","  ")
Rs("news")=replace(news,vbcrlf,"<br>")
Rs("newstitle")=request.form("title1")
Rs.update
为什么将“空格”等换成"  "后,在Rs("news")=replace(news,vbcrlf,"<br>")中又换回来呢?这样做有什么用意?

那个是把换行替换成<br>

Rs("news")=replace(replace(news," ",""),vbcrlf,"<br>")