asp数据库查询代码

2015-08-12 16:03:11来源:作者:人点击

 call per.getPermition("news",0)
 Dim title,sql,rs
 title = Lib.safeRequest("/",0)
 sql = "select Id From [" & cfg.TablePrefix & "news] where title = '" & title & "'"
 rs = dbo.Query(sql)
 If isEmpty(rs) Or isNull(rs) Then
  Response.Write(0)
 Else
  Response.Write(1)
 End If
 Set Lib = Nothing : Set Dbo = Nothing

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台