Home  >  Article  >  Web Front-end  >  html news details page_html/css_WEB-ITnose

html news details page_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:373087browse

When creating a news details page, do you need to write a page for each news item? Or do you just need to write a page, and then the background will transfer the news content to a fixed page for display?


Reply to discussion (solution)

There is only one news page, usually the master page. All news are applied to this master page

The details are to request the news content when clicking the link, and take out the database data and put it on a display template. . . There is no need to write a page for each news item

Just use one page. Just click on the links of different news titles to display the content according to the news ID.

Yeah, I understand, thank you for your answers

Statement:
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