PHP develops simple news release system news release front-end page

In the previous section we created the database and tables and did some preparatory work. In this section we will make a simple adding news page

Adding news is to add data to the database. And displayed on the news list page later.

1604.png

The administrator fills in the content of the news in the form, including: title, author, and content.

Use the

form text box to enter content.

The content in in the page is used to get the content of the content field. Because there is too much content in this field, it can only Use this label.

The following is the HTML code of a simple news release page:

    新闻发布页面  

新闻发布页面

标 题:

作 者:

内 容:

You can name this page: new.php

Continuing Learning
||
新闻发布页面

新闻发布页面

标 题:

作 者:

内 容:

submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!