【发布时间】:2013-02-25 21:25:19
【问题描述】:
好的,这里有问题,我通过单选按钮将表单数据发送到 PayPal 结帐,但是当您第一次上传 php 文件并采用正确的值时它可以工作,但是如果您返回并选择说下一个单选按钮并提交它然后将提交信息更改为您在几乎覆盖之前发送的值?
<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>
【问题讨论】: