====== dbDelete() ======
The ''dbDelete()'' function deletes all entries that match the specified prefix.
''void **dbDelete**(string //prefix//)''
**Warning:** Use this function with great care if you are collecting user data in the [[:en:create:databank]]. The deletion cannot be undone.
**Note:** The database entries are deleted regardless of the language version and regardless of whether they were imported or created using ''[[dbset]]'' or ''[[dbstore]]''.
**Tip:** If you only want to delete a single entry from the content database, do not use ''dbDelete()'', but ''[[dbset]]'' and enter ''false'' as the //value//.
* //prefix//\\ Use this to specify which entries are to be deleted from the content database. All entries beginning with this string are deleted.
The following PHP code deletes all database entries beginning with “A-”.
// Delete database entries with the prefix A-
dbDelete('A-');
If you want to delete the [[:en:create:databank]] of your survey project completely, enter the empty string ''%%''%%'' as the prefix.
// Delete all entries from the content database
dbDelete('');