Home > Backend Development > PHP Tutorial > Let's take a look at this problem_PHP Tutorial

Let's take a look at this problem_PHP Tutorial

WBOY
Release: 2016-07-13 16:58:15
Original
860 people have browsed it

We want to build an information publishing function, but the information under each category is not unified. For example, they all have the same basic elements: title, release time, and text. In some categories, the information may have one to four fields, some may also require accompanying pictures, and some may require document content, etc. That is, everything from table structure to HTML form may be different. How to design it
One: Make only one table and take all possible fields into consideration
Two: Make a table that only contains basic fields, and use associations for other redundant fields
Three: Haven’t thought about it yet
____________________
When a superior man hears the Tao, he practices it diligently; when a sergeant hears the Tao, he lives or perishes; when a junior man hears the Tao, he laughs. Not smiling is not enough for the Tao.
"Life" is - after class, after school, on vacation, after graduation, after enough fun, when you get old, when you regret, when you die!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631430.htmlTechArticleWe want to create an information publishing function, but the information under each category is not unified. For example, there are basic elements: Title, publication time, text. In some categories, there may be one to four pieces of information...
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