Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to call the phpcms keyword

Shulou Source: shulou.com Published: 2022-06-02 07:24:53 10月04日 Update

This article will explain in detail how to call phpcms keywords, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Two methods of calling are recommended:

①, only the keyword of the current article is called, that is, the keyword set when the article is published in the background.

You can also query the relevant Tags: {loop $keywords$keyword} {$keyword} {/ loop}

②, call all the keywords set by the article, such as setting five keywords or can be made into a tag cloud, are OK, as long as you css match properly, ensure perfect!

Tag: {pc:get sql= "SELECT keyword FROM `v9keyword` WHERE length (`keyword`) > 2 ORDER BY `videonum` DESC" num= "5"} {loop $data$r} {php $num++} {/ loop} {/ pc}

In the second method, you need to pay attention to whether your data table is consistent with what I wrote, just write your own, I this is the default.

The first kind and the second kind if you find that there is a problem with the link, it does not matter, the first kind is the default link, open dynamically, the second kind is that I have made my own pseudo-static, you can look for relevant phpcms keywords in the forum to generate what you need. I hope this simple sharing will be of some help to the new friends.

On how to call phpcms keywords to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Keywords keywords articles keywords content methods more tags knowledge articles links help good appropriate consistent dynamic background guys buddies that is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft vpn Shulou Tech Info MariaDB NVidia