可以使用如下SQL:
上一条: SELECT * FROM A WHERE id < $id ORDER BY id DESC LIMIT 1
下一条: SELECT * FROM A WHERE id > $id ORDER BY id ASC LIMIT 1  
Tags: ,
PHP | 评论(0) | 引用(0) | 阅读(5906)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]