public function delete($table, $where = '', $replacements = '', $highlight = false) {

        // run the query
        $this->query('

            DELETE FROM
                ' . $this->_escape($table) .
            ($where != '' ? ' WHERE ' . $where : '') . '

        ', $replacements, false, false, $highlight);

        // return TRUE if query was successful, or FALSE if it wasn't
        return isset($this->last_result) && $this->last_result !== false;

    }