Example: Check empty (form) fields
This is an example about how to use this function. Check also the code on the snippet page for further explanation.
I used a different style for form fields from the type text if they are empty (notice the yellow color).
Required fields: name, your time, some field, checkbox
Related PHP functions:
array_key_exists | explode | in_array | count | ltrim