编辑:调用脚本有效,但传递我的参数仍然有问题。
这是processdonateditems.php
if($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['id']) && isset($_POST['type'])) {
    $scripttype =mysql_real_escape_string($_POST['type']);
    if($scripttype == "cancel") {
              ....
这是我必须提交此表单的按钮
<input type="button" value="Confirm Sent" class="btn" <?php if($fetch_donate3['claim_status']=='1'){?> enabled <?php } else {?> disabled <?php }?>>
 <input type="button" value="Cancel Donation" class="btn")
  ...
</form>