Home >Backend Development >PHP Tutorial >如何将分页添加进条件查询中。

如何将分页添加进条件查询中。

WBOY
WBOYOriginal
2016-06-23 14:02:27848browse

如何将分页添加进条件查询中,如根据性别搜索.


回复讨论(解决方案)

select * from table where sex='男' limit m,n

用where来限制

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn