%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% bigclassid=request.QueryString("bigclassid") smallclassid=request.QueryString("smallclassid") if not isnumeric(bigclassid) or not isnumeric(smallclassid) then Response.Write "" Response.End() end if set rst=server.createobject("adodb.recordset") if bigclassid="" then exec="select * from xww_products order by id asc" end if if bigclassid<>"" then exec="select * from xww_products where BigClassID="&bigclassid&" order by id desc" end if if bigclassid<>"" and smallclassid<>"" then exec="select * from xww_products where BigClassID="&bigclassid&" and SmallClassID="&smallclassid&" order by id desc" end if rst.open exec,conn,1,1 %>
<%=strvalue(rst("promszz"),60)%>