dsiy62758 2014-08-04 04:46
浏览 76
已采纳

将表单数据放入PHP数组中

I have this form

  <form action = "put the data to a single PHP array" method="post">
    <input name="a" type="text" />
    <input name="b" type="text" />
    <input name="c" type="text" /> 
    <input name="d" type="text" /> 
    <input type="button">
  </form>

the condition is that I want to put the data into a PHP array when the user filled the form and click the submit button. the data should be order the way the text input fields are arranged. how can I do that?

Pls help me with the code. thanks!

  • 写回答

2条回答 默认 最新

      报告相同问题?

      悬赏问题

      • ¥20 python跨服务器实现复制 ,剪切的功能需求
      • ¥15 R语言,单因素cox检验,时间分层后,使用coz.zph()函数再次ph假设检验时报错,如何解决?
      • ¥15 关于#C语言冒泡排序型#的问题,如何解决?
      • ¥15 如何预处理存在负值的样本数据,使其能够全都成为正的
      • ¥15 SW画图拖影,平滑处理如何关闭
      • ¥15 请问怎么通过css改变图片颜色
      • ¥15 Blender: auto rig pro骨骼动画导出后变形穿模
      • ¥15 C51单片机的设计思路哈
      • ¥15 Linux脏牛提权漏洞
      • ¥15 为何我用uni-data-checkbox 标签在APP里调试无法显示?