Home >Backend Development >PHP Tutorial > 多关键词模糊搜索解决方法

多关键词模糊搜索解决方法

WBOY
WBOYOriginal
2016-06-13 13:46:331156browse

多关键词模糊搜索
就是比较常见的那种,同时查询两三个关键词,以空格分隔。然后进行查询。不需要太复杂,能简单的实现就行。怎么做啊?

我想的是explode分隔出来出来?然后呢?



------解决方案--------------------
sorry..

PHP code
$value = implode("%' OR `TITLE` LIKE '%",$arr); <div class="clear">
                 
              
              
        
            </div>
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