Posting array from form

前端 未结 7 743
刺人心
刺人心 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:26

    Why are you sending it through a post if you already have it on the server (PHP) side?

    Why not just save the array to the $_SESSION variable so you can use it when the form gets submitted, that might make it more "secure" since then the client cannot change the variables by editing the source.

    It will depend upon how you really want to do.

    0 讨论(0)
提交回复
热议问题