prepare($sql_str); $stmt->bindParam(":contractid", $id); $stmt->execute(); header("HTTP/1.1 204 No Content"); }catch(PDOException $e){ die("ERROR!!!: ". $e->getMessage()); } }