Home > Backend Development > PHP Tutorial > 小弟我一个表单,提交修改数据,如何让get的时候显示页面,POST的时候修改数据

小弟我一个表单,提交修改数据,如何让get的时候显示页面,POST的时候修改数据

WBOY
Release: 2016-06-13 11:26:48
Original
797 people have browsed it

我一个表单,提交修改数据,怎么让get的时候显示页面,POST的时候修改数据?
if($_SERVER['REQUEST_METHOD']=='GET'')
{


    


    

    

            
            
    

             
    




这该怎么混编呢?能有大侠给我个示例吗
Related labels:
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