表单动作不调用脚本php

Edit: calling the script works but still having a problem with passing my parameters.

here is processdonateditems.php

if($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['id']) && isset($_POST['type'])) {

    $scripttype =mysql_real_escape_string($_POST['type']);

    if($scripttype == "cancel") {
              ....

here are my buttons which have to submit this form

<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>

Your buttons have type="button". If you want some of them to submit the form they should contain

type="submit"

If that's not the case then use javascript to submit the form like that:

document.getElementById("change_donate").submit();

Edit:

to receive $_POST['id'] and $_POST['type'] you need to have those elements inside the form. Like that for example:

<input type="hidden" name="id" value="" />
<input type="hidden" name="type" value="" />