Translations of this page:


Data can be retrieved from the Database for Contents with dbGet(). More details can be found in the chapters Database for Contents and dbSet().

array|false dbGet(string key)

  • key
    The database key for which data is stored

Return Value

If the specified key exists in the database, the function always returns an array – even if only one value was stored for the key.

If the specified key cannot be found in the database, the function returns false. In debug mode ((Start questionnaire in debug mode) (not in finished questionnaires), a warning will also be displayed if the key cannot be found.

en/create/functions/dbget.txt · Last modified: 26.09.2020 13:48 by sophia.schauer
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki