This is an old revision of the document!
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. Wenn der angegeben Schlüssel in der Datenbank existiert, gibt die Funktion immer ein Array zurück – auch wenn nur ein Wert für den Schlüssel hinterlegt wurde.
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.