0

我有一个表,它有 4 列,第一列包含一个文本输入框。整个表被包装在一个表单中,该表单将对该数据运行 PHP 脚本。截至目前,我只是打印出 POST 数组。问题是我缺少一些写入输入字段的值。因此,将值 1-10 放在前 10 个文本输入中会给我在 print_r 中的以下内容:

Array
(
[65710] =>
[65705] => 2
[269200318] => 
[269200586] => 4
[16830189] => 
[16829165] => 
[1051902] => 7
[65742] => 
[16830122] => 
[269339822] => 10
}

此表单的 HTML 可在此处找到:http: //jsfiddle.net/nY9MF/

这是在 IIS 7 上运行的

编辑:我更新了 jsfiddle 代码以获得这些商店之一的完整表格。这是我点击提交后的 POST 数组:

Array(
[65710] => 
[65705] => 2
[269200318] => 
[269200586] => 4
[16830189] => 
[16829165] => 
[1051902] => 7
[65742] => 
[16830122] => 
[269339822] => 10
[65774] => 
[16821982] => 
[65740] => 
[16825517] => 
[65709] => 
[1051326] => 
[1052334] => 
[65773] => 
[4110] => 
[16837342] => 
[16825518] => 
[1051375] => 
[1051594] => 
[65743] => 
[1052108] => 
[256] => 
[4106] => 
[65711] => 
[65738] => 
[1051597] => 
[4109] => 
[65724] => 
[SaveQuantity] => Save

)

4

0 回答 0