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
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
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:
新闻修改页面