Filtres turn the content of the database into well presented HTML code

Data stored in the database is presented as a block of text, and you may want to manipulate its value before displaying it on the screen. This is what filters are for:

For example: to split a text tag use


or transform a date in computer format into a date in human format

Let’s assume that your database contains dated items and undated items. The variable #DATE is "2023-07-01 10-53-01" (date in mySQL format) in the first case, and "0000-00-00 00-00-00" in the second.


Will display1 July

For all you need to know about filters

Author Paul Knight Published : Updated : 18/06/23

Translations : عربي, català, corsu, Deutsch, English, Español, français, italiano, Nederlands, Português, русский, slovenčina, Türkçe, українська