并非所有POST数组元素都被发送

时间:2012-07-21 02:15:38

标签: html post

我有一个包含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

0 个答案:

没有答案