public function act_set_help() { global $global; global $conf; $browse = new Browse(); $id = $_GET['element_id']; $message = $_GET['wysiwyg']; $sql = "UPDATE help SET definition='{$message}' WHERE field_number ='{$id}'"; $res = $browse->ExecuteNonQuery($sql); exit(0); }
public function delete($ids) { if (!is_array($ids)) { $ids = array($ids); } $browse = new Browse(); $sql = "DELETE FROM {$this->subformat_name} WHERE `vocab_number` in ('" . implode("', '", $ids) . "')"; $browse->ExecuteNonQuery($sql); }