【发布时间】:2019-11-16 01:05:11
【问题描述】:
我有这个数据库表:
Column Type
source text
news_id int(12)
heading text
body text
source_url tinytext
time timestamp
news_pic char(100)
location char(128)
tags text
time_created timestamp
hits int(10)
现在我正在寻找一种算法或工具来在这个包含新闻数据的表中搜索关键字。关键字应在标题、正文、标签和新闻点击次数中进行搜索,以获得最佳结果。
【问题讨论】:
-
全网都有php脚本来建立与数据库的连接,请求它并获取结果......如果是mysql数据库,像phpmyadmin这样的工具就可以完成这项工作......
标签: php mysql search search-engine