if (strpos($text,'City') !== false)
...
In that "IF" line, I wanna check a few parametres. For example "City, Weather, etc" How can i do that?
Edit: Thank you for all answers
You can do it another way by using in_array() function.
$array = array('City','Weather','anything');
if (in_array($text, $array)) {
echo "Yes";
}