====== dbGet() ====== ''dbGet()'' can be used to retrieve data from the **content database**. For details and examples, see [[:en:create:databank|Using data fragments in PHP code]] and ''[[:en:create:functions:dbset|dbSet()]]''. ''array|false **dbGet**(string //key//)'' * //key//\\ The database key for which data has been stored. **Important:** ''dbGet()'' can only retrieve data that has been imported as a table or entered into the content database using ''[[en:create:functions:dbset]]''. The command cannot retrieve complex data structures that have been stored using ''[[en:create:functions:dbstore|dbStore()]]''. Use ''[[en:create:functions:dbretrieve|dbRetrieve()]]'' for that. ===== Return value ===== If the specified //key// exists in the database, the function __always__ returns an [[:en:create:array|Array]] -- even if only one value was stored for the //key//. If the specified //key// is not found in the database, the function returns ''false''. In debug mode ({{:button.debug.gif?nolink|Start questionnaire in debug mode}}), but not in the finished questionnaire, a warning is also displayed if the key was not found.