function HandleDelCounter()
{
    define("CMD_DEL_COUNTER", <<<SQL
\t\tDELETE FROM counters WHERE id = ?
SQL
);
    global $db;
    $res = $db->query(CMD_DEL_COUNTER, array($_REQUEST["id"]));
    if (PEAR::isError($res)) {
        SimpleController::printError($res);
    }
}