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

html news details page_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:42:37
Original
3107 people have browsed it

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

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