如何判斷發(fā)言是否為空?
if len(usersays)<>0 then
session("whoto")=request.form("whoto")
session("action")=request.form("action")
if instr(usersays,chr(39))>0 then
usersays=replace(usersays,chr(39),"\"&chr(39))
end if
if instr(usersays,chr(34))>0 then
usersays=replace(usersays,chr(34),"\"&chr(34))
end if
application.lock
[1]
相關文章
何時將數據裝載到Application 或 Session 對象中去?
何時將數據裝載到Application 或 Session 對象中去?...2006-11-11asp中在JScript中使用RecordSet對象的GetRows
asp中在JScript中使用RecordSet對象的GetRows...2007-03-03