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

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

WBOY
WBOYOriginal
2016-06-13 11:26:48770browse

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


    


    

    

            
            
    

             
    




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