set rs_whd =server.createobject("ADODB.RecordSet")
sql="select * from whd where
zu"
if request.Cookies("shiwei_id")<>1 and lookwhdsell="yes" and fla89="0" then
sql=sql&" and id_login="&request.Cookies("shiwei_id")
end if
这是你第242到246行的代码,你确定这样没问题吗?select * from whd where
zu这样好像不正确吧