How to use a PHP switch statement to check if a string contains a word (but can also contain others)? August 31, 2023 by Tarik