PHP develops simple news release system news modification page

Earlier we introduced the implementation of the news list page and some of its functional modules

1607.png

When we click "Modify" in the editing option of the news list page, Jump directly to the news modification page,

 修改 

The news modification page here is edit.php, when you click "Modify", jump to the news modification page through the id value of this news ,

Use $_GET on the news modification page to obtain the id, and display the content in the

form of the modification page through the database select statement for modification.

The SQL statement is as follows:

Get the title, author and content through POST method

Put the obtained content Display in HTML page

  

新闻修改页


标 题:

作 者:

内 容:

This way, you can click "Modify" to jump to the news editing page and display the HTML page of the news content.


Full code:

    新闻修改页面  

新闻修改页


标 题:

作 者:

内 容:


Continuing Learning
||
新闻修改页面

新闻修改页


标 题:

作 者:

内 容:

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