PHP | Get input name through $_POST[]

前端 未结 8 1563
长发绾君心
长发绾君心 2020-12-16 19:10

HTML example:

  
8条回答
  •  庸人自扰
    2020-12-16 20:01

    current(array_keys($_POST)) should give you what you are looking for. Haven't tested though.

提交回复
热议问题