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)
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 (() (not in finished questionnaires), a warning will also be displayed if the key cannot be found.