Home > Backend Development > PHP Tutorial > 带html标签的查询有关问题

带html标签的查询有关问题

WBOY
Release: 2016-06-13 13:52:47
Original
985 people have browsed it

带html标签的查询问题
我在mySql中有一字段可存html标签,比如说里面有a标签
但是我输入查询条件a的时候并不想查出这条记录,也就是说查询的时候不考虑标签,只考虑内容。
请问大家怎样解决?

------解决方案--------------------
可以再弄一个字段来保存过滤标签后的内容。
查询的时候查这个字段就可以了。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template