Home > Backend Development > PHP Tutorial > Design ideas for the [Related Information] column in the website

Design ideas for the [Related Information] column in the website

WBOY
Release: 2016-07-06 13:51:23
Original
1305 people have browsed it

Now I am designing a website. The language is PHP. The article page has a related information column that displays articles related to the current article content. What is the design idea?

Reply content:

Now I am designing a website. The language is PHP. The article page has a related information column that displays articles related to the current article content. What is the design idea?

The current article should have tags or keywords, and then display related articles with similar tags or keywords

Design a related field in the background (in the article data table), associate B, C, and D articles in article A, and write the BCD ID to this field through serialization or comma separation.
When accessed For article A, just take out the BCD article.
You can also use the same keywords to associate as mentioned above, that is, get a list of all the same or similar articles;
However, when adding a new association field, the degree of customization needs to be Higher

Related labels:
php
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