阅读背景:

在排名搜索查询PHP,MySQL中指定排名

来源:互联网 

I've got a search query witch sorts the results based on how many times the term is used in an article. For example 1 time in the title and 1 time in the content. This one will end higher up in the list than a article with te term only in it's content area. But I want a little extra, is it possible to add multipliers, for example when the term is used in the title then it counts for 2 instead of one. Look at the code below:I've got a search query witch sorts the results




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: