Home >Backend Development >PHP Tutorial >mysql - php多条件筛选搜索如何写呀?

mysql - php多条件筛选搜索如何写呀?

WBOY
WBOYOriginal
2016-06-06 20:18:362033browse

mysql - php多条件筛选搜索如何写呀?

如上图所示,想知道php代码怎么写呀,大神教我。

回复内容:

mysql - php多条件筛选搜索如何写呀?

如上图所示,想知道php代码怎么写呀,大神教我。

你用了框架了不?

  1. 简单模式:用 mysql的 where 语法

  2. 性能模式:用 sphinx 的 filter 功能

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