<?php require_once('includes/requirecompere.inc.php'); require_once('includes/requirepost.inc.php'); $q_id=TPOST('q_id'); $mb_id=current_mb_id(); if (!$q_id) { redirect("./"); return; } $DBConn->connect(); $q_id=db_filter_for_compere_question($DBConn,$mb_id,$q_id); $DBConn->begin(true); db_delete_question($DBConn,$q_id,$mb_id); $DBConn->commit(); redirect("qx-cmd-question.manage-focus-question-op-question.deleted.html"); ?>