PHP development news release system introduction

News release system

What is the news release system? To put it simply, we modify the published news, the most basic addition, deletion, modification and check , today we will learn how to make a simpler news system.


We have all seen the news. The components of news include "title", "content of the news", "author of the news", "source of the news", "release of the news", etc.

The news release page we will demonstrate to you today, we only have: "Title", "News content", "News release time", make the simplest and basic news release system as shown below, wait for a while Everyone is proficient in PHP knowledge and I believe that we can make a very rich news release page


new.jpg


The picture above is the news release we want to do system, let’s take a look at what files are needed to make a simple news system


Create the required PHP files

new.html :Publish news home page

new_post.php: Receive the data passed from the new.html page and save the data to the database

new_list.php: News list page

new_ed.php: Modify the news and query the news information from the database

new_upd.php: Receive the data passed from the new_ed.php page and save the newly modified data to the database

new_del.php:Delete news


Create our database below


Continuing Learning
||
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>新闻发布系统</title> <body> <h1> 新闻发布系统 </h1> </body> </html>
submitReset Code