編集:スクリプトの呼び出しは機能しますが、パラメーターの受け渡しにまだ問題があります。
ここに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>