0
好的,这里是问题,我通过单选按钮将表单数据发送到PayPal结帐,但它在第一次上传php文件并采用正确的值时起作用,但如果您返回并选择说出下一个单选按钮并提交它,然后将提交信息更改为您在发送之前发送的值?发送表单数据到PayPal结账
<table class="procut_item" border="0" cellpadding="4">
<tr>
<td width="auto"><h4>Product test</h4></td>
<td width="auto"><form method="post" action="process.php">
<input type="hidden" name="itemprice" value="10" />
<input type="hidden" name="itemQty" value="1" />
Size:<input type="radio" name="itemname" value="1">10 x 10</select>
<input class="dw_button" type="submit" name="submitbutt" value="Buy" />
</td>
<tr>
<tr>
<td width="auto"><h4>Product test</h4></td>
<td width="auto"><form method="post" action="process.php">
<input type="hidden" name="itemprice" value="30" />
<input type="hidden" name="itemQty" value="1" />
Size:<input type="radio" name="itemname" value="1">10 x 10</select>
<input class="dw_button" type="submit" name="submitbutt" value="Buy" />
</td>
<tr>
</table>
我无法更改变量名称,因为如果我关闭了输入字段的每个部分,它也会阻止我选择多项选择,因为它设置为付款结算检出。 – 2013-03-01 22:55:17