<%
set rsc=Server.CreateObject("ADODB.Recordset")
strSQL="select * from pk where cstr(ids)="&myid
rsc.open strSQL,liao,1,2
if rsc.recordcount>0 then
response.redirect "pk.asp?pid="&rsc("pid")&"&wap="&wap&""
end if
   rsc.close
set rsc=Nothing
%>