Post and get at the same time in php

前端 未结 6 2492
南方客
南方客 2020-11-27 05:56

Do you have any suggestions with my problem. I need to use get and post at the same time. Get because I need to output what the user has typed. And post because I need to ac

6条回答
  •  猫巷女王i
    2020-11-27 06:18

    You can also use a hidden field in the form

    
    

    and use

    $_POST['foo']
    

    to retrieve the value.

提交回复
热议问题