Posting array from form

前端 未结 7 744
刺人心
刺人心 2020-11-27 05:45

I have a form on my page with a bunch of inputs and some hidden fields, I\'ve been asked to pass this data through a \"post array\" only im unsure on how to do this,

<
7条回答
  •  攒了一身酷
    2020-11-27 06:08

    You're already doing that, as a matter of fact. When the form is submitted, the data is passed through a post array ($_POST). Your process.php is receiving that array and redistributing its values as individual variables.

提交回复
热议问题