This code snippet will show you how to check if string contains specific word with PHP.

<?php
$str = 'My name is Bryan Lusica';

//lets check for the word Bryan
if (strpos($str, 'Bryan') !== false) {
    echo 'The word Bryan exist';
}
?>