<% if request("pid")="" then session("pid")=session("pid") else session("pid")=chk(request("pid")) end if strSQL= "SELECT * FROM shop where ((shop.id) = '" & session("pid")&"')" Set rs =Server.CreateObject("ADODB.Recordset") rs.Open strSQL ,conn , 3,3 IF rs.EOF THEN ELSE name=rs("cname") txt=rs("ctxt") end if rs.close %>
产品简介PRODUCT
<%=name%>

<%=txt%>